Thinking of moving to Zerotier from Tailscale because I can choose IPv4 pools reddit / selfhosted ---------------------------------------------------------------------- Significant-Neat7754 · 2023-11-14 08:20 My ISP has CGNAT. My internal servers have class C private IPv4 addresses (the range starts with [192.168.1.xxx](https://192.168.1.xxx)). ​ From what I understand, Zerotier lets you choose IPv4 address pools (and even allows you to add custom ones). So, my internal IP address won't have to change at all (and therefore apps configured using the internal IP addresses, say Jellyfin, would continue to work with the same IPv4 address) if I were to connect to my other devices using Zerotier remotely. This seems to me to be a huge advantage over Tailscale. ​ Is my thinking wrong about this? ---------------------------------------------------------------------- eRIZpl · 2023-11-14 08:59 I configured Zerotier to use \`192.168.yyy.xxx\` range with no problem. ---------------------------------------------------------------------- Deathmeter · 2023-11-14 09:03 Have you tried using tailscale magic DNS to network your apps instead? I run my jellyfin/plex setup with tailscale and connect different nodes directly through hostnames instead of ip. The DNS can sometimes be tricky to work with if you're also using docker but it shouldn't require you to move to zerotier. ---------------------------------------------------------------------- Significant-Neat7754 · 2023-11-14 09:11 Thank you. Does your internal network have the same hostnames for all your machines as tailscale? So, eg. If your server has a magic DNS hostname of say "my_server.(something).ts.net", your hostname in the internal network locally will also have to be the same. Else the Jellyfin/Plex apps will have to be configured again. This is a problem which is overcome by using zerotier, since both the internal and external IP are exactly the same. ---------------------------------------------------------------------- Deathmeter · 2023-11-14 09:39 Tailscale overrides local dns for hostnames that match devices in your network (or everything, if you configure it to). For example if tailscale is running, a machine called "seedbox" on your network will resolve to the IP address of your other device with tailscale installed. If the two devices are on the same local network it'll resolve it through the local IP instead. This way I don't really have to think about IPs at all. Tailscale takes care of all DNS for me. I have it hooked up to nextdns too so all my servers use the same DNS configuration for other things as well ---------------------------------------------------------------------- Significant-Neat7754 · 2023-11-14 10:23 Oh wow. I just checked and it works! You're right. Thank you so much for helping. ---------------------------------------------------------------------- PovilasID · 2023-11-14 10:37 You can configure ZT to have any subnet, so yah no problem. I have made one just like you mentioned too. You can also host your own controller without having to have a static IP and even if controller goes down existing P2P connections remain in place. One thing to be careful about... encryption acceleration. Both ZT and TS encrypt traffic. Meaning you have to encrypt sending and decrypt receiving. Not all devices have accelerators AES accelerators available. Main problem is TVs. I had a Samsung problem. It not have ZT app available, so plugged in a cheap travel router that could run OpenWRT and ZT but it had a wimpy CPU cloud not handle high bitrate movie decryption. ---------------------------------------------------------------------- ithakaa · 2023-11-14 11:40 Just to be clear, you can’t configure ZT to use the same network address range as your local lan ---------------------------------------------------------------------- Significant-Neat7754 · 2023-11-14 11:59 Oh no! Really? That's what I'm trying to achieve. Well, thank you for clarifying. ---------------------------------------------------------------------- Significant-Neat7754 · 2023-11-14 12:14 Can ZT have the same subnet as the one I use internally on LAN? So, can a device have an address like say 192.168.1.5 on both ZT and LAN? ---------------------------------------------------------------------- PovilasID · 2023-11-14 14:02 Yah you can have the same ip and if ZT is set the flag it will override the IP also i depends on range prioritization you set. ---------------------------------------------------------------------- ithakaa · 2023-11-14 20:05 Why are you trying to achieve that? ---------------------------------------------------------------------- Significant-Neat7754 · 2023-11-14 20:09 I want apps like Jellyfin (I'm talking about the Jellyfin app here) etc. to work remotely as well as within the LAN. ---------------------------------------------------------------------- ithakaa · 2023-11-14 20:10 Why wouldn’t they work remotely and locally if you had a ZT interface with a different IP address? ---------------------------------------------------------------------- Significant-Neat7754 · 2023-11-14 20:31 When you open the app for the first time, the app asks you for the server address. If I enter my LAN based IP address there, I won't be able to connect to it remotely through ZT. ---------------------------------------------------------------------- ithakaa · 2023-11-14 20:45 Yes you will