ip openwrt ; 192.168.1.1
target web; web.com
how to make the google.com web when open the device connected to our openwrt automatically redirects to 192.168.1.1/file.html
please help
ip openwrt ; 192.168.1.1
target web; web.com
how to make the google.com web when open the device connected to our openwrt automatically redirects to 192.168.1.1/file.html
please help
Local DNS overrides for A and AAAA records for dnsmasq override global ones, won't help you against clients opting for DoH or DoT though - and especially google using hsts and certificate pinning will make overriding google owned domains rather infeasible. So yes, you can do that, but it most likely won't work.
then be more specific, or pick a better example.
openwrt ip example is 192.168.1.1
well when he opens webtarget.com it auto redirects to 192.168.1.1/file.html
Perhaps what you need is a "captive portal"?