iptables --match owner --gid-owner support

235 views
Skip to first unread message

CL

unread,
Jun 21, 2015, 9:25:34 PM6/21/15
to al...@googlegroups.com
First of all thank you to everyone for alt-f.  I have been using it for a couple of years and have recently upgraded to latest version.

uname -a:
Linux cymbaline 3.10.32 #1 Fri Jan 30 16:20:27 WET 2015 armv5tel GNU/Linux

altf version: Alt-F 0.1RC4.1

I am now looking to run transmission on my dns 323.

I am using openvpn (I custom made the package to allow user name password in a file) and openvpn is working fine.

I want to use iptables to only allow transmission traffic to use vpn.

Googling tells me iptables is the way to do this.  So I use a command like (tun0 is my vpn interface):
iptables -A OUTPUT -m owner --gid-owner vpnroute \! -o tun0 -j REJECT

and I get:

iptables: No chain/target/match by that name.

googling again tells me this is because I need kernel module xt_connect in my netfilter module.

I tried building a new module with no luck...I can't get iptables to support -m owner.

is there an alternate way of doing transmission only on vpn with alt-f?   does anyone have a kernel module I can use?

thanks for the help!

forgive my lack of detail, I have been hacking at this the whole weekend and haven't made any progress.

signed,
a happy alt-f user.

 


CL

unread,
Jun 22, 2015, 10:19:13 PM6/22/15
to al...@googlegroups.com
Hmmn...I rhink I have found an alternate solution.  For anyone who needs similar try here:

Reply all
Reply to author
Forward
0 new messages