Page 1 of 1

Use firewall to block communication between networks inside a tunnel?

Posted: Wed Sep 20, 2017 10:16 pm
by riahc3
I have a OpenVPN tunnel 10.10.10.0 255.255.255.0 and inside I have networks such as 172.16.1.0 255.255.255.0 172.16.2. 0 255.255.255.0 172.16.3.0 255.255.255.0 ....etc (you get the picture)

How, with the Ubuntu server providing the 10.10.10.0 tunnel do I block those internal networks from communicating with each other? I imagine with iptables but what would be command?

Thank you