How to Config 2 separate Domain for LAN & WAN

I have OpenWRT router.i need to configure 2 Different domain or host name to LAN & WAN interfaces.and set to luci and ssh access via WAN domain .how can i do that....

if the right question is how to allow access to the router remotely, the right solution is a VPN


1 Like

Dear ncompact,
i need to setup domain to access router without using IP
Ex. mainrouter.lan to access luci interface .not like

Internally on your lan, use the dns server config. Externally, you need ddns.

As @ncompact said, though - use a vpn for external access to your device, don’t open ssh and web interfaces to the internet.