AdGuardVPNCLI icon indicating copy to clipboard operation
AdGuardVPNCLI copied to clipboard

SSH connections to a server is broken when it runs AG VPN client with default settings

Open ameshkov opened this issue 10 months ago • 1 comments

Imagine a situation like this:

  1. I run the VPN client on a cloud server.
  2. It is configured to operate in VPN mode and add routes automatically.
  3. I run adguardvpn-cli connect, it sets up routing rules and it immediately breaks my SSH session to the server.
  4. 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/

ameshkov avatar Apr 23 '24 12:04 ameshkov

These example configs may be of some use to you, specifically regarding PersistentKeepalive and AllowedIP.

ghost avatar Apr 23 '24 13:04 ghost