dotfiles/wireguard/wg-client.conf.example

17 lines
428 B
Plaintext

[Interface]
Address = 10.x.x.x/32
PostUp = wg set %i private-key /etc/wireguard/private-key-for-this-vpn
# immediately test connection to the public (jump) host
PostUp = ping -c1 10.0.0.1
[Peer]
PublicKey =
Endpoint =
# Set subnet for all IPs that should be routed
# through this VPN connection
AllowedIPs = 10.0.0.0/24
# if this client is behind a NAT and
# other clients should be able to connect
PersistentKeepalive = 25