two instance wireguard

This commit is contained in:
mercury
2024-03-02 00:14:13 +04:00
parent 757c704d38
commit 3e52c3650e
9 changed files with 177 additions and 87 deletions
+1
View File
@@ -1,4 +1,5 @@
route add -net 10.0.1.0 netmask 255.255.255.0 gw wg
route add -net 10.0.3.0 netmask 255.255.255.0 gw wg1
route add -net 10.0.2.0 netmask 255.255.255.0 gw oc
cat /ssh/key.pub > /root/.ssh/authorized_keys
ssh-keygen -A