cross-posted from: https://quokk.au/c/networking/p/1292781/how-to-bypass-cgnat-for-cheap-or-free

My current internet provider does not allow me to opt out of cgnat. So I don’t have a public ip to connect to my home server from outside.

What is a good way to still connect to my home server?

Do I need to setup some VPN like headscale on cloudflare and use that to acces my network?

What if I want to host a website and make it availavle publicly?

  • Torn Apart By Dogs@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    25 days ago

    use docker compose to spin up a cloudflared tunnel container and that will do what you want most easily. the docs are on cloudflare’s site. it’s a client-initiated tunnel to their front-end and you point your domain at their internal address that is your tunnel. its not difficult but ymmv. its basic networking for understanding the parts and processes involved in running a reverse proxy behind that too. the tunnel is the easiest part imnsho. setting up your certs and waf and security are gonna be the more difficult pieces.