IPv4 for VPS exit node bash file

This commit is contained in:
Abolfazl
2026-05-12 22:20:01 +03:30
parent 2d4b8581cb
commit 1f93575cf6
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ else
fi
# ─────────────────────────────────────────────────────────────────────────────
PUBLIC_IP=$(curl -sf --max-time 5 https://ifconfig.me 2>/dev/null || echo "YOUR-VPS-IP")
PUBLIC_IP=$(curl -sf --max-time 5 https://ipv4.ifconfig.me 2>/dev/null || echo "YOUR-VPS-IP")
echo ""
echo -e "${BOLD}${GREEN}============================================================${NC}"
-1
View File
@@ -282,7 +282,6 @@ def main():
if listen_host == "127.0.0.1":
config["listen_host"] = "0.0.0.0"
listen_host = "0.0.0.0"
log.info("LAN sharing enabled — listening on all interfaces")
# If either explicit LAN sharing is enabled or we bind to all interfaces,
# print concrete IPv4 addresses users can use on other devices.