I want all my traffics are redirected to SOCKS proxy on
127.0.0.1:1080. I added the rule below to the end of
/etc/pf.conf according to this tutorial:
pass on en3 proto tcp from any to any rdr-to 127.0.0.1 port 1080
When I load this configuration file, error is reported:
pfctl: Syntax error in config file: pf rules not loaded
My operating system is OSX 10.11 El captain. Where am I wrong?