[strongSwan] Forcing all traffic from a specific user to use Strongswan

2018-05-17 Thread Gilles Printemps
Hi, Is there a way to force all the traffic from a specific linux user to be routed through the VPN? I would like to use the split tunnelling but I don't understand how to configure Strongswan? Thanks for your help / BR Gilles

[strongSwan] Forcing all the traffic from a specific user / group of users on Ubuntu to use Strongswan

2018-05-17 Thread Gilles Printemps
Hi, Is there a way to force all the traffic from a specific linux user / group of users to be routed through the VPN? I would like to use the split tunnelling but I don't understand how to configure Strongswan. Thanks for your help / BR Gilles

Re: [strongSwan] Forcing all traffic from a specific user to use Strongswan

2018-05-17 Thread Phil Frost
One way to go would be configuring a route based VPN[1]. Then you can use all kinds of Linux routing tricks to get just that user's traffic over the VPN by directing it to the vti interface. For example you could launch that user's processes in a network namespace, or use the "owner" module of ipta