[WireGuard] Using wireguard link as a proxy?

Jason A. Donenfeld Jason at zx2c4.com
Fri Jul 22 14:42:52 CEST 2016


I usually do something like:

wg set wg0 peer ABCD allowed-ips 0.0.0.0/0
ip route add 0/1 dev wg0
ip route add 128/1 dev wg0
./tungate.sh proxyserver.wireguard.io

The tungate.sh script just ensures that proxyserver.wireguard.io is
reachable with the original route, and takes into account ifupdown
changes:

http://0bin.net/paste/oobWhr-vTxhwyo+V#eT1QmdqFr455L0uEHYlduNSEDeUAkfV+v9KMWordUCQ


More information about the WireGuard mailing list