For the very first time i tried to selfhost a static site (lighttpd + duckdns) but I’ve failed… Is it even possible to selfhost a static site from “router 2” while i’m behind two routers? “Router 1” is from ISP and i have no possibility to change any settings except subnet, standard gateway, dhcp on/off and DMZ. -> no port forwarding. "Router 2 is Asus with port-forwarding available and i’m using an OpenVPN configuration on it (if that matters). DuckDNS could see the external ip from R2, but i couldn’t access it.
Either DMZ on the first router, or bridge mode on the second.
markstos@lemmy.world 3 days ago
Yes. DMZ on router 1 exposes router 2 IP to internet.
badlotus@discuss.online 3 days ago
This right here. Since you can’t really configure the ISP router, DMZ mode is the way to go. Just make sure you’re not connecting anything else directly to your ISP router or it will be exposed to the internet along with your router.