cybrnook
Senior Member
Doubt it will help, but if it's a start, here is the rules as they stand now WITH DNSfilter enabled:
# Generated by iptables-save v1.4.14 on Sat Feb 18 15:44:51 2017
*nat
: PREROUTING ACCEPT [697:39079]
: INPUT ACCEPT [101:10679]
: OUTPUT ACCEPT [142:11633]
: POSTROUTING ACCEPT [21:3465]
: DNSFILTER - [0:0]
: LOCALSRV - [0:0]
: VSERVER - [0:0]
: VUPNP - [0:0]
-A PREROUTING -d xxx.xxx.xxx.xxx/32 -j VSERVER
-A PREROUTING -s 192.168.1.0/24 -p udp -m udp --dport 53 -j DNSFILTER
-A PREROUTING -s 192.168.1.0/24 -p tcp -m tcp --dport 53 -j DNSFILTER
-A POSTROUTING -s 192.168.1.0/24 -o tun11 -j MASQUERADE
-A POSTROUTING ! -s xxx.xxx.xxx.xxx/32 -o eth0 -j MASQUERADE
-A POSTROUTING -s 192.168.1.0/24 -d 192.168.1.0/24 -o br0 -j MASQUERADE
-A DNSFILTER -m mac --mac-source xx:xx:xx:xx:xC: DF -j DNAT --to-destination 209.222.18.222
-A DNSFILTER -m mac --mac-source xx:xx:xx:xx:xC: DF -j DNAT --to-destination 209.222.18.218
-A DNSFILTER -m mac --mac-source xx:xx:xx:xx:x2: AB -j DNAT --to-destination 209.222.18.222
-A DNSFILTER -m mac --mac-source xx:xx:xx:xx:x2: AB -j DNAT --to-destination 209.222.18.218
-A VSERVER -j VUPNP
COMMIT
This is with 2 x of my three VPN devices defined so far. Haven't gone to the basement yet to define that last one.....
EDIT: had to add a few spaces to avoid the emoticons.
# Generated by iptables-save v1.4.14 on Sat Feb 18 15:44:51 2017
*nat
: PREROUTING ACCEPT [697:39079]
: INPUT ACCEPT [101:10679]
: OUTPUT ACCEPT [142:11633]
: POSTROUTING ACCEPT [21:3465]
: DNSFILTER - [0:0]
: LOCALSRV - [0:0]
: VSERVER - [0:0]
: VUPNP - [0:0]
-A PREROUTING -d xxx.xxx.xxx.xxx/32 -j VSERVER
-A PREROUTING -s 192.168.1.0/24 -p udp -m udp --dport 53 -j DNSFILTER
-A PREROUTING -s 192.168.1.0/24 -p tcp -m tcp --dport 53 -j DNSFILTER
-A POSTROUTING -s 192.168.1.0/24 -o tun11 -j MASQUERADE
-A POSTROUTING ! -s xxx.xxx.xxx.xxx/32 -o eth0 -j MASQUERADE
-A POSTROUTING -s 192.168.1.0/24 -d 192.168.1.0/24 -o br0 -j MASQUERADE
-A DNSFILTER -m mac --mac-source xx:xx:xx:xx:xC: DF -j DNAT --to-destination 209.222.18.222
-A DNSFILTER -m mac --mac-source xx:xx:xx:xx:xC: DF -j DNAT --to-destination 209.222.18.218
-A DNSFILTER -m mac --mac-source xx:xx:xx:xx:x2: AB -j DNAT --to-destination 209.222.18.222
-A DNSFILTER -m mac --mac-source xx:xx:xx:xx:x2: AB -j DNAT --to-destination 209.222.18.218
-A VSERVER -j VUPNP
COMMIT
This is with 2 x of my three VPN devices defined so far. Haven't gone to the basement yet to define that last one.....
EDIT: had to add a few spaces to avoid the emoticons.