Outils pour utilisateurs

Outils du site


wireguard

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

wireguard [2023/09/19 21:05]
luc créée
wireguard [2023/09/19 21:10] (Version actuelle)
luc
Ligne 1: Ligne 1:
 ====== wireguard ====== ====== wireguard ======
 +
 +===== Avoir la connexion au démarrage =====
 +
 +<code bash>
 +systemctl enable --now wg-quick@wg0
 +</code>
 +Note : il faut que l'interface n'ait pas été activée manuellement auparavant
  
 ===== troobleshooting ===== ===== troobleshooting =====
Ligne 8: Ligne 15:
   * Verify AllowedIPs list on all peers.   * Verify AllowedIPs list on all peers.
   * Check with ip route and ip addr show dev <wg-interface> if the routes and IPs are set as you expect.   * Check with ip route and ip addr show dev <wg-interface> if the routes and IPs are set as you expect.
-  * >>**Double check that you have ''/proc/sys/net/ipv4/ip_forward'' set to ''1'' where needed. **<<+  * >> **Double check that you have ''/proc/sys/net/ipv4/ip_forward'' set to ''1'' where needed.** <<
   * When injecting the VPN users into an existing network, without routing, make sure ''/proc/sys/net/ipv4/conf/all/proxy_arp'' is set to ''1''.   * When injecting the VPN users into an existing network, without routing, make sure ''/proc/sys/net/ipv4/conf/all/proxy_arp'' is set to ''1''.
-  * >>**Make sure the above ''/proc entries'' are in ''/etc/sysctl.conf''**<< or a file in /etc/sysctl.d so that they persist reboots+  * >> **Make sure the above ''/proc'' entries are in ''/etc/sysctl.conf''** << or a file in /etc/sysctl.d so that they persist reboots 
 + 
wireguard.1695157556.txt.gz · Dernière modification: 2023/09/19 21:05 de luc