Skip to content

Instantly share code, notes, and snippets.

@netscylla
Created September 3, 2024 08:06
Show Gist options
  • Save netscylla/04df634ceef8e853950785c36fa79848 to your computer and use it in GitHub Desktop.
Save netscylla/04df634ceef8e853950785c36fa79848 to your computer and use it in GitHub Desktop.
Backup of Wireguard tunnel for XLXD-AMBE remote tunnel
XLXD Server
```
# XLX host
[Interface]
PrivateKey = PRIVATE_KEY_HERE
Address = 10.0.0.1/32
ListenPort = 51822
# AMBE host
[Peer]
PublicKey = PUBLIC_CLIENT_KEY
AllowedIPs = 10.0.0.2/32
PersistentKeepalive = 25
```
AMBE Server
```
# AMBE Host
[Interface]
PrivateKey = PRIVATE_KEY
Address = 10.0.0.2/32
ListenPort = 51822
#ListenPort = 6667
# XLX Host
[Peer]
PublicKey = XLXD_PUBLIC_KEY
Endpoint = Public_routable_IP:51822
AllowedIPs = 10.0.0.1/32,Private_IP/32
PersistentKeepalive = 25
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment