How to easily forward/redirect all network traffics through local socks port 1080? I did google this before asking question. I found this link and this link and others too. But there is no simple solution.
(The system preferences network proxy setup just don't work for all apps. )
Is that so hard to do it? I think just some iptables rules should do it. (although I don't know what is the equivalent iptables
command in macos, maybe pfctl
?). Can anyone show me some simple shell scripts which can achieve this? Thank you very much.
How to easily forward/redirect all network traffics through local socks port 1080
NetworkPROXYvpn
Best Answer
Since nobody posts a shell script (or easy way) to solve my question, I posted my current workaround solution:
sudo route change default 192.168.56.2
That's all. So far so good.