######################################################################## # The following options are used by wg(8) : #[Interface] # PrivateKey # ListenPort # FwMark #[Peer] # PublicKey # PresharedKey # AllowedIPs # Endpoint # PersistentKeepalive ######################################################################## # The following options are used by wg-quick(8) ONLY : #[Interface] # Address # DNS # MTU # Table # PreUp # PostUp # PreDown # PostDown # SaveConfig ######################################################################## [Interface] # Client IP address inside the VPN #Address = 192.168.200.1 Address = 10.8.8.1/24, 192.168.1.1/24 Address = 10.8.8.1/24, 192.168.1.1/24 DNS = 12.12.12.12 #Address = 10.100.1.90 Address DNS = 1.1.1.1, 9.9.9.9 DNS = 8.8.8.8 DNS = 8.8.8.8 Address = 192.168.10.1/24 DNS = 9.9.9.9, 6.6.6.6 DNS = 1.1.1.1, 9.9.9.9 Address = 192.168.45.45/24 DNS = 8.8.8.8 DNS Address # Client private key PrivateKey = 0R23vwz6q4BlNnmwFx7Xoo4AbFg7Kh0CsEsw50J0/zU= MTU = 1500 MTU = 1440 MTU = 1420 [Peer] # Server public key PublicKey = nVHrwwuQl0iIjH+Gyv5bfSJPMhwwogBJTnjTQrueP3g= # Server address and port Endpoint = vpn.example.org:51820 #Endpoint = vpn.example.org # Allowed IP to be AllowedIPs = 10.8.8.0/24 # Et pour finir, le keepalive pour éviter d'avoir des soucis # si le client se trouve derrière un routeur NAT PersistentKeepalive = 25