Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sdz

macrumors 65816
Original poster
May 28, 2014
1,228
1,553
Europe/Germany
Is it somehow possible to define a vpn for a specific app on macos?
I know (years ago) I could use tsocks to wrap all networktraffic of a process to a specific socks proxy.

Is something similar possible but for example with IKEv2 / L2TP ?
 

ssmed

macrumors 6502a
Sep 28, 2009
885
423
UK
Do you want the VPN to start when the app starts or just the traffic for the app to go down the VPN (the latter usually is pretty easy (split networking).
 

sdz

macrumors 65816
Original poster
May 28, 2014
1,228
1,553
Europe/Germany
Do you want the VPN to start when the app starts or just the traffic for the app to go down the VPN (the latter usually is pretty easy (split networking).

1623357395471.png

Something like that...
For Split Tunneling, I must now the IP-range Process.app could address... In theory Process.App is also 0.0.0.0 (everything), So I can't know.

Basically I want to wrap a vpn around a given process. Something that seems to work in managed iOS devices (per app VPN)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.