L
L
lohmag2014-09-17 22:16:44
linux
lohmag, 2014-09-17 22:16:44

Squid won't work with iptables redirect?

Prompt why transparent proxy on squid can not work?
Created such rule
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 7245
in squid config
http_port 7245 tproxy
Nothing works, although packets get into the rule.
If you register without tproxy and manually in the browser, then everything is ok.
From the instructions I found only this www.tldp.org/HOWTO/TransparentProxy-5.html

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cool Admin, 2014-09-18
@ifaustrue

On the Internet they say you need
http_port 3128 transparent
Or
http_port 3129 intercept

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question