Answer the question
In order to leave comments, you need to log in
Squid on FreeBSD. Why is transparency not set?
This configuration works:
firewall.conf
add 4000 divert natd ip from any to any via em0
add 65500 allow ip from any to any
squid.conf
acl localnet src 172.16.0.0/24
acl block dstdomain .drom.ru
http_access deny all block
http_access allow localnet
http_access deny all http_port
3128
coredump_dir
/ var
/ squid
/
cache does not work.
It is interesting that if you disable squid during the second configuration, the computers in the LAN still go to the Internet. So the firewall does not redirect traffic? Where did I go wrong and what can I do about it?
Answer the question
In order to leave comments, you need to log in
And when installing the port, did you select the appropriate function "support for transparent proxy via ipfw? Look at the logs, SQUID should swear in this case =)
Well, the same advice - turn off NAT in the firewall config for now and deal with the squid.
Where does everyone get the string "http_port 3128 transparent" from? What is the squid version? "http_port 127.0.0.1:3128 intercept" must be written. transparent was on version 2x.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question