AdGuardVPNCLI
AdGuardVPNCLI copied to clipboard
SSH connections to a server is broken when it runs AG VPN client with default settings
Imagine a situation like this:
- I run the VPN client on a cloud server.
- It is configured to operate in VPN mode and add routes automatically.
- I run
adguardvpn-cli connect
, it sets up routing rules and it immediately breaks my SSH session to the server. - So incoming SSH connections to the server stay broken.
Can we use some solutions from this thread automatically? https://www.reddit.com/r/WireGuard/comments/nglt05/ssh_tunnel_breaks_when_connecting_to_vpn/
These example configs may be of some use to you, specifically regarding PersistentKeepalive
and AllowedIP
.