From d2aa68e5e6a16e5e02ca7301ad9c37cbccbff83e Mon Sep 17 00:00:00 2001 From: hagbard Date: Fri, 18 Oct 2019 11:43:10 -0700 Subject: wireguard - remove endpoint check to enable roaming connections --- src/conf_mode/interfaces-wireguard.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/conf_mode/interfaces-wireguard.py b/src/conf_mode/interfaces-wireguard.py index 7a684bafa..013a07f32 100755 --- a/src/conf_mode/interfaces-wireguard.py +++ b/src/conf_mode/interfaces-wireguard.py @@ -190,9 +190,6 @@ def verify(c): raise ConfigError("ERROR: allowed-ips required for peer " + p) if not c['peer'][p]['pubkey']: raise ConfigError("peer pubkey required for peer " + p) - if not c['peer'][p]['endpoint']: - raise ConfigError("peer endpoint required for peer " + p) - def apply(c): # no wg configs left, remove all interface from system -- cgit v1.2.3