Transparent proxying in MacOS X 10.6 Snow Leopard (and maybe FreeBSD)
- by apenwarr
I'm trying to create a transparent proxy on my MacOS machine in order to port the
sshuttle ssh-based transproxy VPN from Linux. I think I almost have it working, but sadly, almost is not 100%.
Short version is this. In one window, start something that listens on port 12300:
$ while :; do nc -l 12300; done
Now enable proxying:
# sysctl -w…