-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi,
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Friday, 2 April 2021 21:59, Gert Doering <g...@greenie.muc.de> wrote: > Hi, > > On Fri, Apr 02, 2021 at 03:51:09PM -0400, Selva Nair wrote: > > > As for sending data over the link, not sure I follow. Anything run > > with user's privileges after the tunnel is established can potentially > > use the tunnel. > > I assume that this part relates to the synchronous nature of OpenVPN - > so, an --up script will not be able to use the VPN because OpenVPN is > not active (= waiting for the script to end) while the script runs. > > Now, on Unix, an --up script could just trivially fork some background > activity > > #!/bin/sh > ( sleep 10 ; ping host_in_vpn ) & > exit 0 > > and that ping would work - without the ()&, it wouldn't. BTDT :-) > > On Windows, I have no idea how to run a background job from a .bat > file, but I'm sure there is a way - and in that case, if the foreground > job finishes, the background job would be able to use OpenVPN as well. > </g...@greenie.muc.de> On Windows, you simply use the GUI as outlined above. This Windows GUI behaviour simply took me by surprise.. I was shocked but only because I did not know or forgot, until now. -- Thanks R -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAGBQJgZ67AACEJEE+XnPZrkLidFiEECbw9RGejjXJ5xVVVT5ec 9muQuJ3sEggAl5O+I0LlJWQCDx26iFD6B9HBoiB5L6nQ8HzySJxRwl2CIfKj 73OmSGtF2tvm3tIYnf5PoqWG5P8zoVJDrhf8Q9cH2j8gdK+2S5pKkIHJi6m3 Y4/6ESxN+BrkYqrqYQTKVGru3j2rbFg44KCIh+6RQQ0IV1OaL1K782JmQey5 7v5fVDLllys0bu5ICXO0kh+b+dUhNz+yEmUZFABX7DoXr0RXU/zBU4lbFokA ejMG6A61GZzCVkYP0bYX1ABW/HC15aW9x8rYbGr57r8tQO56Zjs+dROCdvXf CS/mOK43R1W++ECt5lCtu9/GmQCgRCV/P8ccHTamV7i8m9zWtu6LXw== =5Rye -----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