How to configure VPN for a single app on macOS?

0 like 0 dislike
9 views
How to redirect all traffic of a specific application in a VPN? macOS 10.13.4
by | 9 views

2 Answers

0 like 0 dislike
In the General case can only be on IP addresses the traffic to redirect. I doubt that one application communicates with multiple servers - if it's not a botnet.
by
0 like 0 dislike
It is possible to "wrap" all traffic of a specific application to socks proxy. This makes utility tsocks (available in homebrew) or proxycap they work on the same principle replacing network calls. It doesn't always work, but generally works.

Further possible options how to use it:
1) use shadowsock as a local socks proxy and a vpn tunnel to the server
2) to configure the local socks proxy to use the existing VPN channel.
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked Mar 23, 2019 by petrouv
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
33,947 users