max-moser / network-manager-wireguard

NetworkManager VPN Plugin: Wireguard
Other
445 stars 55 forks source link

Wireguard VPN connection should not go down when underlying wired/wifi connection goes down. #38

Open mateusza opened 5 years ago

mateusza commented 5 years ago

Wireguard has ability to automatically restore connection once client (or server!) changes its IP. Regular wg-quick works fine when I disconnect from one network and connect to another - all my SSH sessions are stalled for a second but then they work fine. This plugins disconnects the WireGuard VPN connection when the underlying connection is down.

(Might be that this is something NM does for every VPN and there is nothing to do about it?)

intika commented 5 years ago

Great! but not easy to implement because of the uniqueness of the wg protocol (stateless) or this would require some upstream modifications in network-manager (details on duplicated closed issue https://github.com/max-moser/network-manager-wireguard/issues/34 and https://github.com/max-moser/network-manager-wireguard/issues/21)