Use firewall to block communication between networks inside a tunnel?

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
riahc3
OpenVPN User
Posts: 46
Joined: Tue Jun 26, 2012 9:04 am

Use firewall to block communication between networks inside a tunnel?

Post by riahc3 » Wed Sep 20, 2017 10:16 pm

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

Post Reply