Unable to Connect to ZeroTier Service on Raspberry Pi Running RaspAP

I have a travel router that I built out of a Raspberry Pi 4B running RaspAP on Raspbian OS, which I would like to run ZeroTier on as well. I have installed ZeroTier on the Raspberry Pi, but when I try to check the status of the service, it says:

Error connecting to the ZeroTier service:

Please check that the service is running and that TCP port 9993 can be contacted via 127.0.0.1

I am also unable to join any networks with ZeroTier. When I try, I receive “0 join” without any other details.

I believe that I am having the same issue that @sq8l had in the following post:

@sq8l stated that his solution was to modify the NAT rules on his Raspberry Pi, but he did not provide any details on how he did that. The post has been closed so I am unable to reply to it, and I do not see a way to message him directly, so I am starting this new post in hopes that someone can assist me with modifying my NAT rules on the Raspberry Pi to exclude the lo device 127.0.0.1. I have tried some iptables commands, but each command seems to add another anywhere/anywhere NAT rule, which doesn’t resolve the issue. I have rebooted multiple times and the issue persists. Below are my current NAT rules in iptables. Thanks for your help!

Chain PREROUTING (policy ACCEPT)
target prot opt source destination

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all – anywhere anywhere
MASQUERADE all – 192.168.50.0/24 !192.168.50.0/24

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.