Created
December 1, 2024 07:00
-
-
Save jaonoctus/9f00a34de29b89b0f67f2348e9b2f8b2 to your computer and use it in GitHub Desktop.
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] | |
PrivateKey = YPRIV | |
Address = 10.0.0.2/24 | |
# DNS = 1.1.1.1 | |
[Peer] | |
PublicKey = XPUB | |
AllowedIPs = 10.0.0.0/24 | |
Endpoint = XPUBLICIP:51820 | |
PersistentKeepalive = 25 |
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 = 10.0.0.1/24 | |
SaveConfig = true | |
ListenPort = 51820 | |
PrivateKey = XPRIV | |
[Peer] | |
PublicKey = YPUB | |
AllowedIPs = 10.0.0.2/32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
install dependencies
generate keypair
enable port forwarding
forward service
start
add peer
test port
autostart