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
Tomato router and open vpn with firewall
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Fri Oct 14, 2016 1:34 pm
-
- OpenVpn Newbie
- Posts: 2
- Joined: Fri Oct 14, 2016 1:34 pm
Re: Tomato router and open vpn with firewall
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.
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.