Development discussion of WireGuard
 help / color / mirror / Atom feed
* Windows client: PostUp/PreDown possible?
@ 2019-11-28 21:58 Mark Schmidt
  2019-12-09 15:46 ` Rémi Lapeyre
  2019-12-10 19:22 ` Jason A. Donenfeld
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Schmidt @ 2019-11-28 21:58 UTC (permalink / raw)
  To: wireguard

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-11  1:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-28 21:58 Windows client: PostUp/PreDown possible? Mark Schmidt
2019-12-09 15:46 ` Rémi Lapeyre
2019-12-10 19:22 ` Jason A. Donenfeld
2019-12-11  1:07   ` Mark Schmidt

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).