Set up local domain in OpenWrt

您所在的位置:网站首页 openwrt lan Set up local domain in OpenWrt

Set up local domain in OpenWrt

2022-12-28 06:59| 来源: 网络整理| 查看: 265

I have a TP-Link TL-MR 3420 v2 router set up as a Wi-Fi repeater running OpenWRT. The router has been set up in a "briged mode". The router is connected to my phone's hotspot through OpenWRT's "join network" feature. DHCP is disabled on the router and is set up to forward DHCP requests to the phone.

I want to make the router's administration page (192.168.1.1) accessible through a local domain name (openwrt.wrt) via Wi-Fi without messing with hosts file and such. I've tried various different methods to try to set up the domain and all doesn't work.

Note that when I'm doing the settings, I'm connected to the router's Wi-Fi repeater hotspot on another phone and set up the phone to manually set a static ip address (192.168.1.128) and connect to the router's gateway address (192.168.1.1)

I would like to know a number of different ways to set up the local domain on the OpenWRT router and a brief step by step as I'm new to setting this up on a router.

Here are some additional information that might help

Screenshot_20200928-204946Screenshot_20200928-204946720×1280 102 KB Screenshot_20200928-205018Screenshot_20200928-205018720×1280 54 KB Screenshot_20200928-205041Screenshot_20200928-205041720×1280 61.6 KB

Edit: I have tried dnsmasq's dns forwarding feature with '/openwrt.wrt/192.168.1.1/' and it doesn't work. Also, if i change the dns from 8.8.8.8 to any other address while connected to the router, the phone cant even resolve 192.168.1.1. it seems to me that somehow i need to set up something on the router to be the '8.8.8.8' address guy but i dont know how. Maybe someone can show me how?

m9Mysm9Mys720×1280 49.5 KB


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3