1
16.7 Legacy Series / Opnsense Bridge with Squid transparent problem
« on: November 25, 2016, 01:40:35 pm »
Opnsense works in bridge mode.
Squid works in transparent mode.
The http request can be filtered by squid.
BUT there is a problem, the outside web server shows the request is from the opnsense bridge interface(ip1), not from the computer(ip2) behind the bridge.
webserver <--->opnsense bridge(ip1)<--->inner computer (ip2)
How to fix this?
Let webserver finds request from ip2, as opnsense bridge is totally transparent.
Squid works in transparent mode.
The http request can be filtered by squid.
BUT there is a problem, the outside web server shows the request is from the opnsense bridge interface(ip1), not from the computer(ip2) behind the bridge.
webserver <--->opnsense bridge(ip1)<--->inner computer (ip2)
How to fix this?
Let webserver finds request from ip2, as opnsense bridge is totally transparent.