Use firewall to block communication between networks inside a tunnel?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Use firewall to block communication between networks inside a tunnel?
I have a VPN 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?
OpenVPN has the capability to control client-to-client access, and to stipulate which subnets (if any) can talk to one another. You do not have to use firewall software to do this.
You only cross networks at the router. Ubuntu is only providing the access to get across.
Ubuntu, in this case, is acting as a router as well. So it should be able to block this AFAIK.
Quote:
Originally Posted by sundialsvcs
OpenVPN has the capability to control client-to-client access, and to stipulate which subnets (if any) can talk to one another. You do not have to use firewall software to do this.
Sure this is true also when it is acting as a router?
Yes however this copy of the question has received most of the replies. I'm moving this thread to Networking and have asked the Networking moderator to close the duplicate.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.