-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi,
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Saturday, 12 June 2021 18:51, 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... > Is there some other way to do this on Windows? >From the command line .. You will need admin for the command line to work. If you insist on using the GUI then there is some programmatic control available: https://community.openvpn.net/openvpn/wiki/OpenVPN-GUI-New#gui-help Have fun R -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAGBQJgxPX3ACEJEE+XnPZrkLidFiEECbw9RGejjXJ5xVVVT5ec 9muQuJ1YWgf5AJi6YemtGDGN6a/7+9lmV0a2ZxtBDyODB2+Wr9DkDCDN6hhl 8noBQOYXz3Tt9nqcZY9xZ/BAmoWWzdmGsiN5GfnpSY6yHeO4ThA0ZhzkmiK3 QlcundQD9zOuCJg5qdiYp3rAVewW7K1MVk08HkeprWgBITzG8JYdgXe256RP SgG7gP6ZjUynpt7gkMbKLezuYYx20+ivpMstJ/i19eijlBjRXoBsYIt0GoIz JurP4BNdHWEis+woED6qWZLTqCd69v28eQms4K6984CgJ1XFAYUo1gElXiiJ 2KUYpNVcoDne0Me1Z07h28gKrrtVJwQ7W3XLE7KVHL6lGR0pqPdqag== =eCHC -----END PGP SIGNATURE-----
publickey - tincantech@protonmail.com - 0x09BC3D44.asc
Description: application/pgp-keys
publickey - tincantech@protonmail.com - 0x09BC3D44.asc.sig
Description: PGP signature
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users