dotfiles/wireguard/wg-client.conf.example

17 lines
428 B
Plaintext
Raw Normal View History

[Interface]
Address = 10.x.x.x/32
PostUp = wg set %i private-key /etc/wireguard/private-key-for-this-vpn
2021-06-01 18:15:38 +02:00
# immediately test connection to the public (jump) host
PostUp = ping -c1 10.0.0.1
[Peer]
PublicKey =
Endpoint =
2021-06-01 18:15:38 +02:00
# 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