Re: [Openvpn-users] Issue a specific tunnel to re-connect to the next server

2021-11-15 Thread Rui Santos
On 15/11/21 18:39, Selva Nair wrote: > Hi,  >   > > > client-kill CID > > > > from the management interface of the server. Here CID is the > client-id > > of the client which could be obtained from status output. This > command > > by default causes the client to RESTART

Re: [Openvpn-users] Issue a specific tunnel to re-connect to the next server

2021-11-15 Thread Selva Nair
On Mon, Nov 15, 2021 at 1:42 PM Rui Santos wrote: > 0 > > On 15/11/21 17:06, Jan Just Keijser wrote: > > Hi Rui, > > > > > Hello Jan! Thanks for getting back to me :) > > > this is indeed what you use the management interface for. Read up at e.g. > > https://openvpn.net/community-resources/manag

Re: [Openvpn-users] Issue a specific tunnel to re-connect to the next server

2021-11-15 Thread Rui Santos
0 On 15/11/21 17:06, Jan Just Keijser wrote: > Hi Rui, > > Hello Jan! Thanks for getting back to me :) > this is indeed what you use the management interface for. Read up at e.g. >  https://openvpn.net/community-resources/management-interface/ > > the command is >   kill > or >   kill : > > You

Re: [Openvpn-users] Issue a specific tunnel to re-connect to the next server

2021-11-15 Thread Selva Nair
Hi, > > client-kill CID > > > > from the management interface of the server. Here CID is the client-id > > of the client which could be obtained from status output. This command > > by default causes the client to RESTART. It takes an optional argument > > if you want to, say, HALT the client ins

Re: [Openvpn-users] Issue a specific tunnel to re-connect to the next server

2021-11-15 Thread Rui Santos
On 15/11/21 17:19, Selva Nair wrote: > > > On Mon, Nov 15, 2021 at 12:08 PM Jan Just Keijser > wrote: > > Hi Rui, > > Hi Selva, thank you for your reply :) > I guess you mean server config, not client config. On client, 2 would > be interpreted as the number of tim

Re: [Openvpn-users] Issue a specific tunnel to re-connect to the next server

2021-11-15 Thread Selva Nair
On Mon, Nov 15, 2021 at 12:08 PM Jan Just Keijser wrote: > Hi Rui, > > On 15/11/21 17:32, Rui Santos wrote: > > Hello everyone, > > > > I'm trying to design a setup where I define 2 servers for a particular > > client to connect to, basically 2 remote directives within the same > > client config

Re: [Openvpn-users] Issue a specific tunnel to re-connect to the next server

2021-11-15 Thread Jan Just Keijser
Hi Rui, On 15/11/21 17:32, Rui Santos wrote: Hello everyone, I'm trying to design a setup where I define 2 servers for a particular client to connect to, basically 2 remote directives within the same client config file. Up until now, it works by: - defining explicit-exit-notify 2 on the clie

[Openvpn-users] Issue a specific tunnel to re-connect to the next server

2021-11-15 Thread Rui Santos
Hello everyone, I'm trying to design a setup where I define 2 servers for a particular client to connect to, basically 2 remote directives within the same client config file. Up until now, it works by: - defining explicit-exit-notify 2 on the client config file - defining explicit-exit-notify 2 <-

Re: [Openvpn-users] [ext] Re: Linux client DNS resolver - does it even work?

2021-11-15 Thread Ralf Hildebrandt
* David Sommerseth : > Unfortunately, NM is even "more clever" than that. If the main link goes > down, it stops all VPN connections as part of that. > > NM does not trust OpenVPN is able to recover the VPN connection on its own, > even if gateways changes. NM has more issues. E.g. it is unable

Re: [Openvpn-users] Linux client DNS resolver - does it even work?

2021-11-15 Thread David Sommerseth
On 15/11/2021 14:31, Gert Doering wrote: however I wonder if NM (at least in Fedora) has a problem with re-uping connection after system resumed from sleep. Well, that is most easily tested, no?:-) (As far as I understand, NM is "sleep aware", and will stop the OpenVPN session before sleep and

Re: [Openvpn-users] Linux client DNS resolver - does it even work?

2021-11-15 Thread David Sommerseth
On 10/11/2021 23:18, lejeczek via Openvpn-users wrote: Hi guys. I have, I'd like to think a "regular" server setup where clients from Windowze and Macs do get name resolution work apparently very well, whereas Linux client - all clients do use almost identical config - seems pretty broken. Li

Re: [Openvpn-users] Linux client DNS resolver - does it even work?

2021-11-15 Thread Gert Doering
Hi, On Sat, Nov 13, 2021 at 09:05:19PM +, lejeczek via Openvpn-users wrote: > > On Linux, OpenVPN does not modify the DNS servers itself (unlike Windows). > > > > There's two ways to make it happen > > > > - use Network Manager to run OpenVPN - it will parse the server reply, > > and set