iptables and client-to-client
Posted: Wed Dec 16, 2020 9:44 am
Hi !
My server is configured with client-to-client parameter, and my clients have different networks (10.1.1.0/24 to 10.1.5.0/24). Traffic between sites works very well but I would like to block traffic from one site (10.1.5.0/24)
I've tried :
but it doesn't work. Can I do this restriction with iptables ?
Or do I have to disable client-to-client and set manually connections between sites with iptables ?
Thanks
My server is configured with client-to-client parameter, and my clients have different networks (10.1.1.0/24 to 10.1.5.0/24). Traffic between sites works very well but I would like to block traffic from one site (10.1.5.0/24)
I've tried :
Code: Select all
iptables -A FORWARD -i tun0 -s 10.1.5.0/24 -d 10.1.0.0/16 -j DROP
Or do I have to disable client-to-client and set manually connections between sites with iptables ?
Thanks