Page 1 of 1

Tomato router and open vpn with firewall

Posted: Fri Oct 14, 2016 1:38 pm
by Andy84
Hallo,
i have an router with tomato firmware and use openvpn on it.

Now i have trouble to set up access restrictions and the firewall. Essentially the vpn stream seems to bypass all access / firewall rules.

Might someone kindly point me to a tutorial or manual about how to use an iptables firewall with vpn on the same device?

I would be very grateful.

Andy

Re: Tomato router and open vpn with firewall

Posted: Sat Oct 15, 2016 1:12 pm
by Andy84
I tried it also directly with iptables just for testing and because it is more easy to explain here what i did i will post this as example instead of the content of the access restriction section:

iptables -A INPUT -s 5.153.231.4 -j DROP
iptables -A OUTPUT -s 5.153.231.4 -j DROP

Result is that i cannot connect to 5.153.231.4.
When i now activate the proxy i can again connect to it.

I would really appreciate a hint in what kind of Documentation i should search / with what this behaviour is related.