Hi

On Sat, Jun 12, 2021 at 1:53 PM Bo Berglund <bo.bergl...@gmail.com> wrote:

> I am using the OpenVPN Gui application on my Windows 10 laptop to connect
> to a
> variety of locations where I have put OpenVPN servers.
> This has always until now been a matter of establishing a connection prior
> to
> doing something on or via the remote network.
>
> But now I have another use case, which is to communicate with a remote
> device,
> which as connected to an OpenVPN server where client-to-client is enabled
> but
> where there is no exit server side on the VPN server. So all
> communications are
> on the tunnel itself.
>
> In this case the process (which works) is this:
> - Connect to the tunnel-only server
> - Run the special comm program designed to talk to the remote device
> - Communicate with the remote device, which is connected 24/7
> - When done close down the VPN tunnel
>
> I wonder if there is some way (on Windows) to start the tunnel connection
> from
> the special comm program and then close it down when the comm session is
> over
> and the program closes.
> I have written the comm program and I could add such a feature if it is
> possible
> to accoplish.
>
> OpenVPN-GUI is sort of a GUI program so I suspect it does not have any
> useful
> hooks...
>

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

Selva
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to