Hi, I’ve setup a RPi3 with Kali Linux and Zerotier. And have followed the instructions with the link below for setting up NAT routed access to my internal LAN network:
Thanks for posting. That’s annoying. Is something else also trying to manage your rules? It’s hard to find good information about iptables-persistent. Everything just says “install it”
I did not install anything else on the RPi. it just the base OS “kali-linux-2022.3-raspberry-pi-arm64.img.xz”.
When I issue the below command, it just says already installed.
sudo apt install iptables-persistent
I tried one more thing, gave the below command, rebooted, and now I do not have access to the RPi (it’s remote). I’ll have physical access to the device in about 8-10 hrs, will update on power cycle.
I now have physical access to the device. I was not able to access it remotely because zerotier is not working on it now, giving join command gives error:
sudo zerotier-cli join xxxxyyy
zerotier-cli: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
I think I issued apt autoremove before reboot, guess something got broken.
Edit 1: Trying apt update & upgrade for fix the above issue. but the iptables are now getting restored after reboot. The below command fixed it:
Android App has a very basic functionality of joining and routing traffic via Zerotier. I was hoping if I could just send the phone to a remote network for support, and NAT into the network where the phone is connected. Using a phone with battery+good processor+RAM would be so much better than using a RPi.