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

Change forwarded hosts without restarting VPN #155

Open
curz46 opened this issue Jan 23, 2025 · 0 comments
Open

Change forwarded hosts without restarting VPN #155

curz46 opened this issue Jan 23, 2025 · 0 comments

Comments

@curz46
Copy link

curz46 commented Jan 23, 2025

Hi, first of all, thanks so much for your work on vpn-slice! This project has been invaluable to me in regaining some control in the face of corporate VPN mandates.

While it is not a big deal, I frequently like to tweak what hosts are going to the openconnect VPN connection, and what goes directly to my default route. I span a custom configuration file to do this, which gets passed to the vpn-slice parameters whenever I execute my VPN script. However, authenticating with the VPN unfortunately requires 2FA in my case, so restarting it is not convenient.

It would be great if I could start the openconnect VPN tunnel, then spawn a separate process for vpn-slice that sets up the routes, so I can reload that vpn-slice instance whenever I like and have my routing configuration updated. This would all be transparent to the VPN connection, which would keep running happily in the background.

How hard is this? Is it already possible with some hacks? It may be out of scope for vpn-slice, and I understand if this is the case. Maybe a project could wrap and daemonize vpn-slice to produce the desired behaviour?

p.s. if you add some donation link to the project's README, I would love to buy you a coffee for your work. :)

Thanks

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

No branches or pull requests

1 participant