Created
July 20, 2020 20:33
Star
You must be signed in to star a gist
Use wireguard udp via web sockets using wstunnel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Interface] | |
Address = 1.2.3.5/32 | |
PrivateKey = zyx= | |
#DNS = | |
PreUp = /usr/local/bin/wstunnel -v --udp --udpTimeoutSec -1 -L 127.0.0.1:12345:127.0.0.1:12345 wss://public.ip.of.server & | |
PostDown = pkill wstunnel | |
[Peer] | |
EndPoint = 127.0.0.1:12345 | |
PublicKey = xyz= | |
AllowedIPs = 1.2.3.0/24 | |
PersistentKeepalive = 25 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment