Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for remote access tunnel resumption #38

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

mobileoverlord
Copy link
Contributor

On channel join, tunnels will synchronize with the server

  • Tunnels that are unknown will be closed and cleaned up
  • Tunnels that are requested while the device was offline will configure and open
  • Tunnels that are known will be resumed
  • Tunnels that are expected to be open but are missing configurations / interfaces will be closed

This also adds support for configuring a persistent data_dir where you want to write tunnel interface configurations in the peridio config. By specifying a persistent location for configurations, tunnels will resume even after device reboots.

"remote_access_tunnels": {
    "enabled": true,
    "data_dir": "/etc/peridiod"
  },

@mobileoverlord mobileoverlord merged commit 0cd4f03 into v2-maint Nov 1, 2024
1 check passed
@mobileoverlord mobileoverlord deleted the tunnel-resumption branch November 1, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants