Hi frollic,
There is a similar product (redirect all website the user try to connect to 192.168.1.1 when the internet is unavailable), but this product does not have this kind of problem(pop-up page when plugging USB cable).
is there any dnsmasq related setting I need to add in order to avoid this kind of problem?
or other suggestions?
set nat table PREROUTING to route port num 53(DNS) to 192.168.1.1
if I want to drop the destination "www.msftconnecttest.com/redirect", how to set the iptables rule?
Hi frollic,
if I add the following command, when I pluggin USB cable, there is no pop up webpage
but if I pluggin USB cable, then turn off/on NB wifi, it will pop up webpage again.
any suggestion?
iptables -t mangle -A PREROUTING -m string --algo bm --string "www.msftconnecttest.com" -j DROP