openpyn-nordvpn icon indicating copy to clipboard operation
openpyn-nordvpn copied to clipboard

Running openpyn while another openvpn connection is active breaks first connection

Open losdmi opened this issue 6 years ago • 2 comments

I have vpn connection described in /etc/openvpn/client.conf which automatically connects on system's start up.

When I am running openpyn fr to connect to NordVPN, my first connection breaks and no longer available until I run sudo service openvpn restart. After that both connections (my first and openpyn's) are seem to work well with each other.

Is it possible to not break another connection while running openpyn?

losdmi avatar Jul 19 '18 20:07 losdmi

I have never used 2 openvpn connections at a given time. could you please elaborate on your setup and how it's useful. while starting openpyn kills (suppose to) any running or stale openvpn connection, otherwise it would be trying to run multiple copies when fail-overs happen.

jotyGill avatar Sep 10 '18 14:09 jotyGill

My main connection described in /etc/openvpn/client.conf is connection to my private network on my job. I use it to get access to inner resources of my company.

It seems like here after killing all openvpn processes and starting your own, openvpn client reads configuration only from specified file, and ignores default config file in /etc/openvpn/client.conf

Is it possible to implement this behavior: while starting openpyn somehow find only process, which was started by previous openpyn and kill only this process and don’t kill other running openvpn processes?

losdmi avatar Sep 24 '18 16:09 losdmi