putting netmaker default port 1 above WG port to avoid conflicts with preexisting setups

This commit is contained in:
afeiszli 2021-04-01 14:51:16 -04:00
parent aeb13da21b
commit c7a6874830

View file

@ -44,7 +44,7 @@ func(group *Group) SetDefaults(){
group.DefaultInterface = "nm-" + group.NameID
}
if group.DefaultListenPort == 0 {
group.DefaultListenPort = 51820
group.DefaultListenPort = 51821
}
if group.DefaultPreUp == "" {