From: Mark Schmidt <knupps@gmx.de>
To: wireguard@lists.zx2c4.com
Subject: Windows client: PostUp/PreDown possible?
Date: Thu, 28 Nov 2019 22:58:22 +0100 [thread overview]
Message-ID: <04a38f45-1043-0db5-6c76-2ee573fd71cf@malte-wetz.de> (raw)
Hello!
I hope I'm in the right place to ask this.
I'm trying to familiarise myself with Wireguard, and I like it so far.
One issue though: The Linux version has PostUp and PreDown options in
its configuration files.
Is there something similar available for the Windows client?
When I try to add something like "PostUp = somescript.cmd" to the
interface section in the WG config, the Windows client complains that
the key is invalid.
I'm currently assuming that there is a way and I'm just too stupid to
figure it out. Google didn't yield anything useful, however.
I want to use those options to automatically map a network share to a
drive letter after successfully activating the tunnel. And then
disconnect it (giving Windows an opportunity to empty its cache) before
the tunnel gets deactivated again.
Best regards!
PS: No need to CC me, I subscribed to the list.
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
next reply other threads:[~2019-12-09 11:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-28 21:58 Mark Schmidt [this message]
2019-12-09 15:46 ` Rémi Lapeyre
2019-12-10 19:22 ` Jason A. Donenfeld
2019-12-11 1:07 ` Mark Schmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=04a38f45-1043-0db5-6c76-2ee573fd71cf@malte-wetz.de \
--to=knupps@gmx.de \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).