c7cf401b0a
cisco-vpn: Daily log rotation with 7-day retention
...
Test / test (push) Has been cancelled
- Logs now saved to /var/log/cisco-vpn/YYYY-MM-DD.log
- Automatic cleanup of logs older than 7 days
- Each day gets its own log file
2026-01-17 02:34:22 +00:00
38530ea0df
cisco-vpn: Remove sudo (running as root) and add file logging
...
Test / test (push) Has been cancelled
- Removed all sudo commands since container runs as root
- Added LOG_FILE at /var/log/cisco-vpn.log
- Modified log() to write to both console and file
- Added startup logging with env var status
2026-01-17 02:33:07 +00:00
e4b648e447
fix script
Test / test (push) Has been cancelled
2026-01-17 02:12:39 +00:00
7b874169cb
Update cisco-vpn to use 172.31.0.0/24 container network
...
Test / test (push) Has been cancelled
- Replace 100.100.0.0/24 with 172.31.0.0/24
- Update gateway to 172.31.0.1
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 23:26:26 +00:00
2f7a51d2b7
Move restart-routing trigger into setup_forwarding
...
Test / test (push) Has been cancelled
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 23:16:29 +00:00
31cb8f6db5
Add trigger-based host routing restart (no SSH needed)
...
Test / test (push) Has been cancelled
- Add runtime volume mount for trigger files
- cisco-vpn now creates /runtime/restart-routing trigger file
- Host systemd path watcher handles restart
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 23:11:11 +00:00
69062bd828
Remove unused build scripts, fix cisco-vpn monitor loop
...
Test / test (push) Has been cancelled
- Delete init-vpn.sh, vpn-connect.sh, xstartup from build/scripts
- Change cisco-vpn monitor to background process so menu shows after connect
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 22:56:34 +00:00
b3259d2981
.
Test / test (push) Has been cancelled
2026-01-16 22:48:04 +00:00
470517a00f
refactor(rego-tunnel): Complete migration to native Docker VPN
...
Test / test (push) Has been cancelled
- Add custom init-rego.sh that unmounts /etc/resolv.conf and /etc/hosts for VPN
- Add custom xstartup that launches terminal with cisco-vpn script
- Add TARGET_IP environment variable
- Remove QEMU/VM dependencies (TAPs, bridges, dnsmasq not needed)
- The cisco-vpn script handles: vpnagentd, auto-login with TOTP, IP forwarding
Architecture:
1. init-rego.sh: DNS fix + IP forwarding + start systemd
2. systemd: manages vpnagentd and vnc services
3. xstartup: opens xterm with cisco-vpn script
4. cisco-vpn: auto-connects VPN, sets up routing
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 20:45:16 +00:00
b55708721c
Add host routing service restart after VPN connects
...
Test / test (push) Has been cancelled
SSH to host and restart rego-routing.service after VPN connection
is established in the VM.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-04 10:28:56 +00:00
f1ba1f050d
new image structure for cisco-vpn and related scripts
Test / test (push) Has been cancelled
2026-01-04 09:01:52 +00:00