General discussion


block internet

By mr_subodh ·
I have linux server and i have configure proxy through my Linux server.I want disable internet
from some this possible some particular ip address can access internet.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

block internet

by jerome In reply to block internet

you can do it in two ways..
1. setup a firewall (iptables) and add some
rules that would block incomming request for
specific IP's

iptables -A input -i NIC_INTERFACE -p tcp -s

2. if your using squid you may want to check the

Collapse -

block internet

by mr_subodh In reply to block internet

Poster rated this answer

Collapse -

block internet

by WhW In reply to block internet

While iptables or ipchains will most certainly do the trick, you might try looking at squidGuard (assuming the proxy you're using is squid). It offers a few more "bells and whistles" than either iptables or ipchains and is very easily configured.

Related Discussions

Related Forums