Re: Routing all traffic trough VPN

2018-08-16 Thread Piotr Martyniuk
On 2018-08-16, john doe wrote: > This configuration assumes that the clients will get "all configuration" > from the server. Initially I had a problem importing my VPN settings to network manager. Now I see it is working and I was able to fill in the gaps so I got a working VPN connection. I

Re: Routing all traffic trough VPN

2018-08-16 Thread john doe
On 8/16/2018 8:53 AM, Piotr Martyniuk wrote: On 2018-08-16, john doe wrote: On the vpn client are you getting the proper DNS in '/etc/resolv.conf' when connected to your vpn server? It changes (adds nameserver 192.168.2.1 on top), but this does not seems to be valid as the IP's I got are

Re: Routing all traffic trough VPN

2018-08-16 Thread Piotr Martyniuk
On 2018-08-16, john doe wrote: > On the vpn client are you getting the proper DNS in '/etc/resolv.conf' > when connected to your vpn server? It changes (adds nameserver 192.168.2.1 on top), but this does not seems to be valid as the IP's I got are from the network 10.8.0.xx and the one I got is

Re: Routing all traffic trough VPN

2018-08-16 Thread john doe
On 8/16/2018 7:56 AM, Piotr Martyniuk wrote: On 2018-08-06, Joe wrote: I believe it should happen by default, this is almost always what you want. I'm fairly sure I've never had to ask for this. When the VPN connects, Network Manager should adjust routing so that the VPN becomes the default

Re: Routing all traffic trough VPN

2018-08-16 Thread Piotr Martyniuk
On 2018-08-06, Joe wrote: > I believe it should happen by default, this is almost always what you > want. I'm fairly sure I've never had to ask for this. > > When the VPN connects, Network Manager should adjust routing so that > the VPN becomes the default gateway. To disable this behaviour,

Re: Routing all traffic trough VPN

2018-08-06 Thread Roberto C . Sánchez
On Mon, Aug 06, 2018 at 11:24:21AM +0100, Joe wrote: > On Mon, 6 Aug 2018 09:48:02 - (UTC) > zaxonxp wrote: > > > Hi, > > > > On Debian Stretch I managed to configure VPN connection using network- > > manager. Now I would like to redirect all traffic to VPN (whenever > > VPN is available)

Re: Routing all traffic trough VPN

2018-08-06 Thread Joe
On Mon, 6 Aug 2018 09:48:02 - (UTC) zaxonxp wrote: > Hi, > > On Debian Stretch I managed to configure VPN connection using network- > manager. Now I would like to redirect all traffic to VPN (whenever > VPN is available) and revert back to current state (if VPN is not > available). > > The

Routing all traffic trough VPN

2018-08-06 Thread zaxonxp
Hi, On Debian Stretch I managed to configure VPN connection using network- manager. Now I would like to redirect all traffic to VPN (whenever VPN is available) and revert back to current state (if VPN is not available). The only problem is that I do not know how to do this. Kind regads, Piotr

Routing all traffic trough VPN

2018-08-06 Thread zaxonxp
Hi, On Debian Stretch I managed to configure VPN connection using network- manager. Now I would like to redirect all traffic to VPN (whenever VPN is available) and revert back to current state (if VPN is not available). The only problem is that I do not know how to do this. Kind regads, Piotr

Routing all traffic trough VPN

2018-08-06 Thread Piotr
[This mail was also posted to linux.debian.user.] Hi, On Debian Stretch I managed to configure VPN connection using network- manager. Now I would like to redirect all traffic to VPN (whenever VPN is available) and revert back to current state (if VPN is not available). The only problem is that