WireGuard

This commit is contained in:
IDEZ Ugo
2022-02-09 14:55:41 +01:00
parent 254b9810be
commit 689aa9faa2
11 changed files with 128 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
bash wireguard.sh
cp endpoint-a.* wg0-a.conf /etc/wireguard
cd /etc/wireguard
mv wg0-a.conf wg0.conf
systemctl start wg-quick@wg0
systemctl enable wg-quick@wg0