Comment on ISP put me behind NAT
Dave@lemmy.nz 10 months ago
You’re already using cloudflare, so check out cloudflare tunnels. You install their software on your server which makes an outbound connection, bypassing the need for open ports or a public IP. Note this only does http traffic.
Another option is tail scale, which won’t make your site public but will let you access it remotely on devices you have their software/app on.
farcaller@fstab.sh 10 months ago
I’m actually not sure you can easily get tailscale up and running om such as a setup as it uses the same cgnat ip range.
Dave@lemmy.nz 10 months ago
This page says (at the very bottom):
farcaller@fstab.sh 10 months ago
Yeah, you’re absolutely correct. I misread that thinking OP would have the CG NAT endpoint and taikscsle on the same physical device, which, I still think, would be a problem: you’d have two interfaces for 100.64.0.0/10. But if CG NAT terminates on the modem and you run taikscale on devices connected to it them there’s surely no issue at all.
c10l@lemmy.world 10 months ago
I run it on my router which has the CG-NAT IP address.
Whilst you’re right that it could clash, it’s very unlikely (a 1 in 4194302 chance), I imagine Tailscale would detect the clash and change IPs though I could be wrong as it never happened to me (and probably never will - though in all fairness it will eventually happen to someone).
c10l@lemmy.world 10 months ago
Been using Tailscale behind CG-NAT for years. It works wonderfully and very rarely needs to route through the DERP infrastructure - it’s almost always a P2P connection.
Greg@lemmy.ca 10 months ago
I haven’t had any issues running Tailscale and cloudflared on the same machines
farcaller@fstab.sh 10 months ago
Sorry, I meant the OPs modem.