diff --git a/sample_wg_cfg/wg-external.conf b/sample_wg_cfg/wg-external.conf index 965fb9c..011926c 100644 --- a/sample_wg_cfg/wg-external.conf +++ b/sample_wg_cfg/wg-external.conf @@ -1,12 +1,12 @@ [Interface] -Address=10.20.30.2/32 -PrivateKey=6CCRP42JiTObyf64Vo0BcqsX6vptsqOU+MKUslUun28= +Address = 10.20.30.2/32 +PrivateKey = 6CCRP42JiTObyf64Vo0BcqsX6vptsqOU+MKUslUun28= PostUp = iptables -t nat -A POSTROUTING -o `ip route | awk '/default/ {print $5; exit}'` -j MASQUERADE PostDown = iptables -t nat -D POSTROUTING -o `ip route | awk '/default/ {print $5; exit}'` -j MASQUERADE #internal node [Peer] -PublicKey=MxnOnIlKfSyZyRutnYyoWHb3Izjalgf1t8F1oPJiyyw= -AllowedIPs=10.20.30.0/24 -Endpoint=195.2.79.13:17968 -PersistentKeepalive=25 +PublicKey = MxnOnIlKfSyZyRutnYyoWHb3Izjalgf1t8F1oPJiyyw= +AllowedIPs = 10.20.30.0/24 +Endpoint = 195.2.79.13:17968 +PersistentKeepalive = 25 diff --git a/sample_wg_cfg/wg-mobile-client.conf b/sample_wg_cfg/wg-mobile-client.conf index d5ddfee..0618fb7 100644 --- a/sample_wg_cfg/wg-mobile-client.conf +++ b/sample_wg_cfg/wg-mobile-client.conf @@ -1,11 +1,11 @@ [Interface] -Address=10.20.30.3/32 -PrivateKey=iPK7hYSU8TLVRD+w13nd3aGSYNLfnTx6zwdRzKcGb1o= +Address = 10.20.30.3/32 +PrivateKey = iPK7hYSU8TLVRD+w13nd3aGSYNLfnTx6zwdRzKcGb1o= DNS = 1.1.1.1, 8.8.8.8 #internal node [Peer] -PublicKey=MxnOnIlKfSyZyRutnYyoWHb3Izjalgf1t8F1oPJiyyw= +PublicKey = MxnOnIlKfSyZyRutnYyoWHb3Izjalgf1t8F1oPJiyyw= AllowedIPs = 0.0.0.0/0 -Endpoint=195.2.79.13:17968 -PersistentKeepalive=25 +Endpoint = 195.2.79.13:17968 +PersistentKeepalive = 25