Bug #1620
open
Can't use transparent proxy when using bridge.
Added by Marcello Silva Coutinho over 13 years ago.
Updated about 3 years ago.
Description
Can't foward any package To localhost while using bridge and setting ip address only on new bridge interface.
Same setup without bridge works fine.
I've tested with rdr rule and with squid transparent proxy rule.
Also with bridge system tunable settings on and off.
Please consider testing intead of rejecting. I've spend i lot of hours trying To setup it.
- Project changed from pfSense to pfSense Packages
- Category deleted (
Rules / NAT)
- Target version deleted (
2.0)
- Category set to Squid
- Affected Version deleted (
2.0)
It's not a squid issue, its a nat/rdr issue.
As I told even creating a rdr rule, I cant't see any traffic going to localhost on any port.
Version 2.0.3 the issue are not solved yet, obviously, there is not the intention to solve this bug !
I ran some tests with this and was unable to make it work. Adding 'route-to lo0' to the pass rule did not allow this function.
Steve Wheeler wrote:
I ran some tests with this and was unable to make it work. Adding 'route-to lo0' to the pass rule did not allow this function.
Can you test the same with the squid.inc
from https://github.com/pfsense/FreeBSD-ports/pull/305 (and of course again adding route-to lo0
to the proper place) please? (I came to a conclusion that the current rules are not particularly sensible, regardless of this issue.)
transparent mode on bridge works fine on pfSense 2.6.0.a.20211006.2213 with net.link.bridge.pfil_bridge=1 and net.link.bridge.pfil_member=0
something changed in pf?..
rules.debug:
# Setup Squid proxy redirect
rdr pass on bridge0 inet proto tcp from any to !(bridge0) port 80 -> 127.0.0.1 port 3128
rdr pass on bridge0 inet proto tcp from any to !(bridge0) port 443 -> 127.0.0.1 port 3129
# Setup squid pass rules for proxy
pass in quick on bridge0 proto tcp from any to (bridge0) port {3128,3129} flags S/SA keep state
Also available in: Atom
PDF