How to Config 2 separate Domain for LAN & WAN

hi,
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

or

1 Like

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

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.

2 Likes