mirror of
https://github.com/masterking32/MasterHttpRelayVPN.git
synced 2026-05-17 21:24:37 +03:00
IPv4 for VPS exit node bash file
This commit is contained in:
@@ -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}"
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user