Update wg_init.sh
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user