New User? Register here - Existing Users: Username: Password: [Advanced Login]

 

 

Current Poll

What language for system administration do you use ?







( 731 votes ~ 3 comments )

 

Weblog entry #1 for firmans93

proxy transparent (squid 2.7stable3) on Lenny?
Posted by firmans93 on Sun 6 Feb 2011 at 07:58
Tags: none.
I have a serious problem, may be someone can help me.
I must overcome this problem soon, because next week I will face the big IT
competition in my province as my town's delegation.
here the topology I will do in the competition,

PC-Client(winxp)(dhcp)--(wifi connection)--AP(192.168.xx.2-set by(192.168.xx.1)Debian server(no internet)
I've set the IP address correctly. and,
I've configured the iptables-rules and ip_forwarding, also squid.conf aslike
in the most tutorials on internet. I tried to block url-sites using transparent proxy. but,
after the proxy server started, in the client's web browser showed that the
internet was not connected. after I configured the proxy preference, the squid
could work and it blocked the url.
I want to force the client to use this proxy(3128) transparently without configure the proxy on the web browser, but I can't do till now.
please help me, thanks.
mail.firmansyah93@yahoo.com (email and my YM account)

 

Comments on this Entry

Posted by Anonymous (178.118.xx.xx) on Sun 6 Feb 2011 at 08:40
ebtables is your friend

[ Parent | Reply to this comment ]

Posted by rjc (131.111.xx.xx) on Mon 7 Feb 2011 at 14:46
[ Send Message ]
How would ebtables help with that is beyond me.

All you need is a simple port redirection.
You need to learn how to use a search engine though ;^)
Firs result in google is actually pointing here - hint: debian squid transparent proxy.

rjc

[ Parent | Reply to this comment ]

Posted by cheche (46.25.xx.xx) on Tue 8 Feb 2011 at 19:23
[ Send Message ]
Is this set on your /etc/squid/squid.conf ?
#Default:
http_port 3128 transparent

[ Parent | Reply to this comment ]

Posted by cheche (46.25.xx.xx) on Tue 8 Feb 2011 at 19:26
[ Send Message ]
you have this rule on iptables right? iptables -A PREROUTING -s x.x.x.0/24 -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128

[ Parent | Reply to this comment ]

Posted by zahreza (180.249.xx.xx) on Thu 10 Feb 2011 at 13:24
[ Send Message ]
cheche, what is -m function? I also has a malfunction of transparent proxy on my server.

[ Parent | Reply to this comment ]

 

 

Flattr