Results 1 to 2 of 2
Dear Sir,
I want to give a browsing rights to the m/c having ip address of 192.168.0.4 only the following sites.
IP ADDRESS OF THE SITES ARE
61.0.0.70
203.90.124.66
203.90.124.65
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-20-2006 #1Just Joined!
- Join Date
- Sep 2006
- Posts
- 2
How To Set Iptables Rules
Dear Sir,
I want to give a browsing rights to the m/c having ip address of 192.168.0.4 only the following sites.
IP ADDRESS OF THE SITES ARE
61.0.0.70
203.90.124.66
203.90.124.65
How can I set a IPTABLES RULE
PLEASE HELP ME
- 09-23-2006 #2Just Joined!
- Join Date
- Sep 2005
- Location
- New delhi
- Posts
- 22
This further needs your input about how do you provide internet avaiblability at your cilents .. through squid or with packet forwarding ?
though..
with squid you can use..
iptables -A INPUT -s 192.168.0.4 -d 61.0.0.70 -j DROP
iptables -A INPUT -s 192.168.0.4 -d 203.90.124.66 -j DROP
iptables -A INPUT -s 192.168.0.4 -d 203.90.124.65 -j DROP


Reply With Quote
