rego-tunnel: use eth0 for container IP detection
Some checks failed
Test / test (push) Has been cancelled

The vpn_static-rego network is on eth0, not eth1.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-19 08:57:17 +00:00
parent 20b55311f1
commit 27b496893f

View File

@@ -28,8 +28,8 @@ get_windows_ip() {
} }
get_container_ip() { get_container_ip() {
# Get container's external IP (tipi_main_network - eth1) # Get container's external IP (vpn_static-rego - eth0)
ip -4 addr show eth1 2>/dev/null | awk '/inet / {print $2}' | cut -d/ -f1 ip -4 addr show eth0 2>/dev/null | awk '/inet / {print $2}' | cut -d/ -f1
} }
( (