Finally i setup a transparent proxy on my ADSL line.
It was really easy:
- installed the squid port with the WITH_SQUID_PF option
- Adapted the default configuration and added the firewall rules according to SquidFAQ
- ran squid -z and enable squid in rc.conf
- Reload pf and start squid
I ran a transparent squid for about a year or two, then switched to setting it up non-transparent and instead jump through the hoops required to make automatic proxy configuration (DHCP/DNS WPAD+proxy.pac) work.
Reason: Even today, some websites are too broken to work right through a proxy, so being able to connect directly on demand still is a must-have. 🙁