I have a server in my home and use it normally with my custom router setup. but I want to do the same in other place where I’m not allowed to modify the main router
How can I expose a port to internet in this case?
P.D: I want to use my laptop as a portable server; connect it to my mobile hotspot and go, I think that the solution will be the same for both cases
Thanks in advance
Use a P2P VPN like ZeroTier. I use it even when I have router access because I’m hyper paranoid about exposing anything to the open Internet.
If you cannot forward a port in your router, then you need to run a tunnel to the outside. Look at VPNs, like Tailscale/Headscale, plain Wireguard and Cloudflare tunnels etc.
Zerotier, or any other VPN service that is outbound/cloud hosted.