Commit Graph

10 Commits

Author SHA1 Message Date
e103847796 Simplify rego-tunnel: remove SOCKS5, use portproxy instead
Some checks failed
Test / test (push) Has been cancelled
- Remove SOCKS5 socat forwarder from start.sh
- Add SSH to VM on port 2222 (socat)
- Add port 22 DNAT for IBM i SSH via portproxy
- Remove SOCKS5 proxy startup from vpn-login.js
- Remove SOCKS5 restart from watchdog reconnect

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 09:47:52 +00:00
2fe54fc7f0 rego-tunnel: use VM_NET_IP env var directly instead of detecting
Some checks failed
Test / test (push) Has been cancelled
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 09:10:38 +00:00
971a888fea rego-tunnel: use 172.32.0.0/24 for VM to avoid routing conflict
Some checks failed
Test / test (push) Has been cancelled
Container external: 172.31.0.10 (br-vpn-rego)
Windows VM internal: 172.32.0.20 (separate subnet)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 09:09:56 +00:00
f992425e96 rego-tunnel: revert to 172.30.x.x for VM (avoid routing conflict)
Some checks failed
Test / test (push) Has been cancelled
Using same subnet for container external IP and VM internal IP
causes routing conflicts. Revert VM to default 172.30.0.0/24.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 09:09:35 +00:00
9192c62a9e rego-tunnel: update for VM_NET_IP on 172.31.0.0/24 subnet
Some checks failed
Test / test (push) Has been cancelled
- Windows VM now uses 172.31.0.20 via VM_NET_IP env var
- Updated get_windows_ip to look for 172.31.x.x
- Fixed get_container_ip to exclude docker bridge gateway

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 09:06:10 +00:00
0aadef4705 rego-tunnel: detect container IP by subnet instead of interface name
Some checks failed
Test / test (push) Has been cancelled
Interface order is not consistent. Search for 172.31.x.x subnet instead.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 08:58:44 +00:00
27b496893f 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>
2025-12-19 08:57:17 +00:00
20b55311f1 rego-tunnel: fix exit 0 causing container restart loop
Some checks failed
Test / test (push) Has been cancelled
Changed exit 0 to return 0 in vpn_scripts/start.sh.
When the script is sourced via entrypoint, exit terminates
the parent shell before the Windows VM entry.sh can run.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 08:16:07 +00:00
f878882718 rego-tunnel: auto-setup SSH, socat, and port forwarding
Some checks failed
Test / test (push) Has been cancelled
Renovate / renovate (push) Has been cancelled
- Add vpn_scripts volume mount
- Install socat, openssh-client, netcat on startup
- Copy SSH key to /root/.ssh/ automatically
- Add socat forwarder for SSH (port 22)
- Expose ports 22 and 1080 in user-config

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 17:50:13 +00:00
e7f8028e83 rego-tunnel: replace build folder with vpn_scripts
Some checks failed
Test / test (push) Has been cancelled
- Remove build folder (no longer building custom image)
- Add vpn_scripts folder with organized setup scripts
- Prefix setup scripts with numbers for execution order
- Add setup-all.bat for automated Windows setup
- Add dynamic vpn-startup.lnk shortcut (uses %USERNAME%)
- Include start.sh for container networking

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 17:37:25 +00:00