Transparent Proxy with other ports on Squid?
-
Please forgive me, I'm relatively new to ipfw in FreeBSD, but how is traffic forwarded from port 80 to the proxy when running transparently? An ipfw rule that doesn't appear when I run ipfw show, or something else?
The reason I ask is I wish to run pfSense as a captive portal in a hotel environment, serving a number of corporate quests. One of the support issues we encounter from time to time is the proxy configuration in the user's browser.
A transparent proxy capturing traffic on the port used solves this issue for HTTP proxies without the intervention of a technician, but most are not on port 80 (usually one of 8080 or 3128).
-
The IPFW is not used in pfSense - only PF.
-
all traffic redirected to 127.0.0.1:80 and this ip:port squid uses as transparent
as far as I know ipfw used in captive portal while squid uses pf.
pfctl -sn you'll seefor other ports other than ip:port 127.0.0.1:80 you can change in /usr/local/pkg/squid.inc