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>
This commit is contained in:
2025-12-18 17:50:13 +00:00
parent e7f8028e83
commit f878882718
2 changed files with 16 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ services:
volumes:
- ${APP_DATA_DIR}/data/storage:/storage
- ${APP_DATA_DIR}/data/shared:/shared
# - ${APP_DATA_DIR}/data/start.sh:/run/start.sh
- /etc/runtipi/repos/runtipi/apps/rego-tunnel/vpn_scripts:/vpn_scripts:ro
networks:
- tipi_main_network
sysctls: