bypass wireguard VPN (wgphys sample script help needed)

Jason A. Donenfeld Jason at zx2c4.com
Mon May 22 12:53:40 CEST 2017


Hi Helle,

There is no trivial "copy&paste" solution for wgphys that works on all
systems everywhere. If you don't possess the knowledge to understand
what every line is supposed to do and tweak it for your particular
system configuration, the wgphys solution isn't for you. If I can ever
think of a 100% portable way of implementing this, though, I'd
certainly release that. For now, it requires actually understanding
which daemons your network uses and shutting them down and starting
them back up as required.

However, if you'd like to keep using wg-quick, and add an "override"
switch for it, I'm sure you could fashion something decent out of
clever usage of fwmark, ip rule, and iptables.

Regards,
Jason


More information about the WireGuard mailing list