First, clarify who you're testing: traffic initiated from SSH in the router follows the local outbound path; traffic from the home PC still passes through LAN forwarding. Test the router itself first, ensuring normal behavior, then repeat the test from the PC. This reduces the need to investigate an entire additional layer.
Obtain the gateway from the actual routing table
ip -4 addr show
ip -4 route show default
ip -4 route get 1.1.1.1
Read the next hop from default via, and the dev and src fields in the routing decision. Use ping -c 3 with the actual gateway address, and then perform the same test against a known externally reachable IPv4 address. If no default route exists, first check whether the uplink has obtained an address; if the gateway is local but unreachable, first verify the network segment, VLAN, and physical cabling. External devices may block ICMP responses, so packet timeouts alone cannot be used to conclude that the entire internet path is down.
IP path is ready; now verify the name
On the router, execute nslookup example.org, and note the DNS server used and the returned address. If access is possible via IP but the query times out, investigate the upstream DNS and local forwarding service; if a response is returned, access the same normal HTTPS site via browser to verify the timestamp and certificate. Finally, repeat the access from a LAN client. If only the client fails, examine the gateway, DNS, and forwarding policy it has obtained. No need to change home DNS or restart the router during this round of checks.
Reference
Related guide · How to set a static gateway and DNS in LuCI on a single-port OpenWrt device
Comments