Created
February 16, 2019 18:45
-
-
Save insdavm/1ab5bb9d106e4113eae7e72de6f50ce1 to your computer and use it in GitHub Desktop.
for GlassOnion420
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
# SERVER wg0.conf | |
[Interface] | |
PrivateKey = <PRIVKEY of SERVER> | |
Address = 10.0.0.1/24 | |
ListenPort = 51820 | |
[Peer] | |
PublicKey = <PUBKEY of CLIENT 1> | |
AllowedIPs = 10.0.0.2/32 | |
# CLIENT wg0-client.conf | |
[Interface] | |
PrivateKey = <PRIVKEY of CLIENT 1> | |
Address = 10.0.0.2/24 | |
[Peer] | |
Endpoint = 192.168.1.2:51820 | |
PublicKey = <PUBKEY of SERVER> | |
AllowedIPs = 0.0.0.0/0 # Traffic destined for IPs in this range will go through the tunnel, so in this case, all traffic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment