squid bypassing

Protecting your Linux box
mushtaq
Havaldaar
Posts: 144
Joined: Sat Jul 01, 2006 10:55 am
Location: karachi

squid bypassing

Postby mushtaq » Thu Feb 22, 2007 7:47 pm

Life is just a deception from truth

ranatanveer
Subedar
Posts: 355
Joined: Sat May 07, 2005 11:54 am
Location: Lahore
Contact:

Postby ranatanveer » Fri Feb 23, 2007 10:50 am

Regards

Rana Tanveer
+923224194457


For Affordable Web Development http://www.affordableprogrammers.com
http://www.qualityprogrammers.com

ranatanveer
Subedar
Posts: 355
Joined: Sat May 07, 2005 11:54 am
Location: Lahore
Contact:

Postby ranatanveer » Fri Feb 23, 2007 10:52 am

Regards

Rana Tanveer
+923224194457


For Affordable Web Development http://www.affordableprogrammers.com
http://www.qualityprogrammers.com

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Fri Feb 23, 2007 11:02 am

Dear mushtaq,
Salam,

I believe you can restrict users to stick only with your proxy by using iptables.

# iptables -t nat -A PREROUTING -p tcp --dport 3128 -j DNAT --to 192.168.0.1:8080
# iptables -t nat -A PREROUTING -s 192.168.0.1/24 -p tcp --dport 8080 -j DNAT --to 192.168.0.1:8080
# iptables -t nat -A PREROUTING -s 192.168.0.1/24 -p tcp --dport 80 -j DNAT --to 192.168.0.1:8080


Best Regards.
Farrukh Ahmed


Return to “Security”

Who is online

Users browsing this forum: No registered users and 1 guest