Re: [Openvpn-users] On-demand OVPN connection from Windows 10?

2021-09-22 Thread Selva Nair
On Wed, Sep 22, 2021 at 4:35 PM Gert Doering wrote: > Hi, > > On Wed, Sep 22, 2021 at 03:45:26PM -0400, Selva Nair wrote: > > Is it worth the trouble? Isn't this use case arising from wanting to use > > the GUI for something that it's not? > > Yeah, maybe it's the wrong approach, and a CLI tool

Re: [Openvpn-users] On-demand OVPN connection from Windows 10?

2021-09-22 Thread Bo Berglund
On Wed, 22 Sep 2021 15:45:26 -0400, Selva Nair wrote: >Is it worth the trouble? Isn't this use case arising from wanting to use >the GUI for something that it's not? Selva, I think that what you have provided is good enough, I just had to get to know it and ask some follow-ups. Now my use case

Re: [Openvpn-users] On-demand OVPN connection from Windows 10?

2021-09-22 Thread Gert Doering
Hi, On Wed, Sep 22, 2021 at 03:45:26PM -0400, Selva Nair wrote: > Is it worth the trouble? Isn't this use case arising from wanting to use > the GUI for something that it's not? Yeah, maybe it's the wrong approach, and a CLI tool might be better. OTOH, I'm not sure how that would play out with

Re: [Openvpn-users] On-demand OVPN connection from Windows 10?

2021-09-22 Thread Selva Nair
Hi, On Wed, Sep 22, 2021 at 12:55 PM Gert Doering wrote: > Hi, > > On Wed, Sep 22, 2021 at 06:22:15PM +0200, Bo Berglund wrote: > > - send a silent_connection 1 command > > - Wait a while for the command to be executed > > - then send the actual connection command > > - Wait until we have a conn

Re: [Openvpn-users] On-demand OVPN connection from Windows 10?

2021-09-22 Thread tincantech via Openvpn-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Wednesday, September 22nd, 2021 at 17:53, Gert Doering wrote: > Hi, > > On Wed, Sep 22, 2021 at 06:22:15PM +0200, Bo Berglund wrote: > > > - send a silent_connection 1

Re: [Openvpn-users] On-demand OVPN connection from Windows 10?

2021-09-22 Thread Bo Berglund
On Wed, 22 Sep 2021 18:53:08 +0200, Gert Doering wrote: >> - send a silent_connection 1 command >> - Wait a while for the command to be executed >> - then send the actual connection command >> - Wait until we have a connection > >@selva: how complicated would it be to create a "hey, gui, please m

Re: [Openvpn-users] On-demand OVPN connection from Windows 10?

2021-09-22 Thread Gert Doering
Hi, On Wed, Sep 22, 2021 at 06:22:15PM +0200, Bo Berglund wrote: > - send a silent_connection 1 command > - Wait a while for the command to be executed > - then send the actual connection command > - Wait until we have a connection @selva: how complicated would it be to create a "hey, gui, please

Re: [Openvpn-users] On-demand OVPN connection from Windows 10?

2021-09-22 Thread Bo Berglund
On Wed, 22 Sep 2021 17:46:20 +0200, Bo Berglund wrote: >So what can I do? >Maybe during the connection sequence: >- send a silent_connection 1 command >- then send the actual connection command >- then send a silent_connection 0 command > Reply to self: YES - this works, now I just have to figur

Re: [Openvpn-users] Share dynamic routes between hosts

2021-09-22 Thread Joe Patterson
On Wed, Sep 22, 2021 at 4:19 AM Alex K wrote: > > > > On Wed, Sep 22, 2021 at 3:12 AM Joe Patterson wrote: >> My first whack at this was an ugly kluge where I directly called vtysh >> from my client-connect script, along the lines of: >> >> #parse ccd file for iroute and/or ifconfig-push >> if "c

Re: [Openvpn-users] On-demand OVPN connection from Windows 10?

2021-09-22 Thread Bo Berglund
On Wed, 22 Sep 2021 09:41:43 -0400, Selva Nair wrote: >You can also go to the settings menu of the GUI, set silent connection to >on. It will be remembered when you start the GUI next time from the command >line. But that is exactly what I do NOT want... I don't want this to be a system-wide set

Re: [Openvpn-users] On-demand OVPN connection from Windows 10?

2021-09-22 Thread Selva Nair
On Wed, Sep 22, 2021 at 9:18 AM Bo Berglund wrote: > On Tue, 21 Sep 2021 10:37:10 -0400, Selva Nair > wrote: > > >> >> >We have some support for sending commands to the GUI to > >> >> >connect, disconnect etc.. See > >> >> > > >> >> > > >> >> > >> > https://github.com/OpenVPN/openvpn-gui#send-co

Re: [Openvpn-users] On-demand OVPN connection from Windows 10?

2021-09-22 Thread Bo Berglund
On Tue, 21 Sep 2021 10:37:10 -0400, Selva Nair wrote: >> >> >We have some support for sending commands to the GUI to >> >> >connect, disconnect etc.. See >> >> > >> >> > >> >> >> https://github.com/OpenVPN/openvpn-gui#send-commands-to-a-running-instance-of-openvpn-gui I looked in the documentati

Re: [Openvpn-users] Share dynamic routes between hosts

2021-09-22 Thread Alex K
On Wed, Sep 22, 2021 at 3:12 AM Joe Patterson wrote: > OSPF is a great way to distribute those routes between hosts, the > problem is getting the routes from the iroute table into the OSPF > routing table in the first place. > > I have used quagga for an ospf daemon. > I was thinking to use quagg