From 1f93575cf6d3593ac3a20e5abcb42f9188e3b82e Mon Sep 17 00:00:00 2001 From: Abolfazl Date: Tue, 12 May 2026 22:20:01 +0330 Subject: [PATCH] IPv4 for VPS exit node bash file --- apps_script/setup_vps_exit_node.sh | 2 +- main.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps_script/setup_vps_exit_node.sh b/apps_script/setup_vps_exit_node.sh index 0676c61..39b5d4d 100644 --- a/apps_script/setup_vps_exit_node.sh +++ b/apps_script/setup_vps_exit_node.sh @@ -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}" diff --git a/main.py b/main.py index a8d67e1..76e7370 100644 --- a/main.py +++ b/main.py @@ -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.