OpenVPN tunnel seems to break transparent proxy rule
vin0x64 last edited by
I've a pfsense box doing a home router / firewall /squid + squid guard using transparent proxy rules.
In addition to that I've set up an openvpn tunnel to a dedicated server on the internet. So my pfsense box is an openvpn client.
When bringing the openvpn tunnel up I noticed that the proxy did not work anymore, indeed the automatic rdr rules get wiped out of the pf ruleset as shown below on the rules.debug files before and after the restart of the client.
[2.1-RELEASE][root@pfsense]/tmp(46): diff rules.debug.ovpn rules.debug.tpok
rdr on bge1 proto tcp from any to !(bge1) port 80 -> 127.0.0.1 port 3128
pass in quick on bge1 proto tcp from any to !(bge1) port 80 flags S/SA keep state
pass in quick on bge1 proto tcp from any to !(bge1) port 3128 flags S/SA keep state
After that I need to go back to squid setup and "save" to get back my rdr rules.
Should I file a bug report or set thing up differently ?