Binding ZeroTier to single WAN port on UDM Pro

Apologies if this is a naive question but I am new to ZeroTier.

If I follow the instructions for installing ZeroTier on my Ubiquiti UDM Pro, can I bind it to just one of the WAN ports?

1 Like

Probably the easiest way is to blacklist the interface(s) that should be avoided in local.conf.
See Client Configuration | ZeroTier Documentation

1 Like

Thanks. I will give that a go.

1 Like

This didn’t go well. There was no local.conf file to edit, so I created one and put it in the /var/lib/zerotier-one directory. I then stopped and restarted the service but it made no difference. I ran zerotier-cli info -j but there was no trace of the config file settings.

1 Like

You may need to configure the path to your local.conf in your main ZT config file.
In OpenWrt, for example, it looks like this: option local_conf '/etc/zerotier.conf'
There is always a possibility that ZT version you have is missing this functionality.

1 Like