Hi all!
I want to allow specific webside on specefic ipaddress. For example i want to allow on hotmail webside for particular user instead of all.
Thanks in Advance
Specific webside allow on specific ipaddress
-
- Naik
- Posts: 60
- Joined: Wed Oct 05, 2005 12:37 pm
-
- Battalion Quarter Master Havaldaar
- Posts: 228
- Joined: Fri Jan 28, 2005 6:23 pm
- Location: Karachi
Salam
Dear majidnazeer,
Plz define your question , your question is incomplete which os you using and all
other details like you want flitering in squid ?
Regards,
M Asad Rasheed
Plz define your question , your question is incomplete which os you using and all
other details like you want flitering in squid ?
Regards,
M Asad Rasheed
registered linux user #394856
http://www.bsdpakistan.org
http://www.bsdpakistan.org
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear majidnazeer,
Salam,
Use IPtables !!
e.g you want to allow 192.168.0.1 to surf hotmail.com then use the following rules and all other will get rejected !!
# iptables -I INPUT -s 192.168.0.1 -d hotmail.com-ip -j ACCEPT
# iptables -I INPUT -d hotmail.com-ip -j DROP
Best Regards.
Salam,
Use IPtables !!
e.g you want to allow 192.168.0.1 to surf hotmail.com then use the following rules and all other will get rejected !!
# iptables -I INPUT -s 192.168.0.1 -d hotmail.com-ip -j ACCEPT
# iptables -I INPUT -d hotmail.com-ip -j DROP
Best Regards.
Farrukh Ahmed
-
- Naik
- Posts: 60
- Joined: Wed Oct 05, 2005 12:37 pm
Specific webside allow on specific ipaddress
Thanks a lot Farrukh.