Weblog entry #1 for firmans93
#1
proxy transparent (squid 2.7stable3) on Lenny?
Posted by firmans93 on Sun 6 Feb 2011 at 07:58
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)
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
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
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 ]
Is this set on your /etc/squid/squid.conf ?
#Default:
http_port 3128 transparent
#Default:
http_port 3128 transparent
[ Parent | Reply to this comment ]
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 ]
cheche, what is -m function? I also has a malfunction of transparent proxy on my server.
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]