Update wg_init.sh
parent
f222349d79
commit
9a0efb1f07
|
@ -47,7 +47,7 @@ systemctl enable wg-quick@wg0
|
||||||
systemctl start wg-quick@wg0
|
systemctl start wg-quick@wg0
|
||||||
|
|
||||||
# Detect public IP
|
# Detect public IP
|
||||||
PUBLIC_IP=$(curl -s ifconfig.me)
|
PUBLIC_IP=$(curl -4 -s ifconfig.me)
|
||||||
|
|
||||||
# Setup Mobile Peer
|
# Setup Mobile Peer
|
||||||
MOBILE_DIR="$WG_DIR/mobile_1"
|
MOBILE_DIR="$WG_DIR/mobile_1"
|
||||||
|
|
Loading…
Reference in New Issue