|
@ -24,6 +24,8 @@ PersistentKeepalive = 25" > /etc/wireguard/wg0.conf |
|
|
|
|
|
|
|
|
systemctl enable wg-quick@wg0.service && systemctl daemon-reload && systemctl start wg-quick@wg0 |
|
|
systemctl enable wg-quick@wg0.service && systemctl daemon-reload && systemctl start wg-quick@wg0 |
|
|
|
|
|
|
|
|
|
|
|
ping -c1 192.168.25.1 |
|
|
|
|
|
|
|
|
echo -n "Clé publique : " |
|
|
echo -n "Clé publique : " |
|
|
cat /etc/wireguard/keys/public.key |
|
|
cat /etc/wireguard/keys/public.key |
|
|
exit 0; |
|
|
exit 0; |