Martineau
Part of the Furniture
The script uses the NVRAM variables as shown belowPretty sure 192.168.20.1 IP is the modem that the router is bridged behind, so the same target/device as xxx.xxx.x.x , as I use completely different IP range for LAN & any network devices. Guess this is why I asked about having script ping google.com, or where I'd change the script to do this.
NAT: It is enabled, not sure about double NAT? How/where would I double check that?
Local DNS Server: Pretty sure no. LAN -> DNS Server 1 & 2 is blank. I do have VPN Server on the router but that wouldn't be related?
Code:
# List of PING hosts to check
HOSTS="$(nvram get wan0_gateway) $(nvram get wan_dns) 8.8.8.8 8.8.4.4" # Target PING hosts
I have uploaded v1.07 of the script.
i.e. I have now filtered any LAN IP PING target, and also added the option to explicitly ignore the NVRAM variables and only use the two Google DNS servers as valid PING targets.
Last edited: