blocking access to internet for subnet Code Answer

enter image description here

This is my setup. I want to block the access to the internet for a certain subnet ( 192.168.200.X). I still want to be able to access my internal Webserver. I tried blocking the subnet by adding:

iptables -I INPUT -s -j DROP

But it isn’t working.


Have you tried adding that to the FORWARD chain rather than INPUT?

Here is a good starting guide

Related Posts

© No Copyrights, All Questions are retrived from public domain.
Tutorial Guruji