Posted: Sun Jan 16, 2011 15:37 Post subject: block my main router's config page using Iptables
Hello,
I tried and failed to get access restriction working using the guide, and I'm trying to block access to my main router's config page, so i am trying to resort to IP tables.
I'm sorry. I completely misinterpreted your original image. I understand your topology now.
The Web GUI's Access Restriction will not work for that from what I understand. It looks like you need to implement your rules in a PREROUTING chain to deal with the 192.168.20.0 subnet.
Posted: Tue Jan 18, 2011 1:18 Post subject: Re: block my main router's config page using Iptables
mrtest wrote:
iptables -A INPUT -s 192.168.20.1 -p tcp --destination-port 80 -j DROP
Use -I to insert to the top instead of -A which appends to the bottom. _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)