Occasionally I'll forget I'm connected to a VPN and last night I put my iMac to sleep while the VPN was still on. This morning when I woke it up, I couldn't get any internet web pages to load, although I can browse devices on the LAN such as my printer and router. All other computers/iPhones on the LAN work okay but I tried using FireFox, Safari, and Camino and nothing would load.
Also Apple Mail is showing all my email accounts are Offline but I am clearly connected to the Internet because:
Filezilla connects okay.
Ping works and DNS will resolve IP addresses.
DHCP is working - correct router address is shown.
Traceroute is working all the way to external sites.
My Mac is available on LogMeIn.
Apple Remote Desktop shows my clients on the WAN.
VPN Connections work.
To try and fix the problem I...
Rebooted the router
Turned off my iMac firewall
Deleted the Ethernet connection and remade using DHCP.
Tried switching from Ethernet to Airport
Tried ifconfig en0 down/up
Deleted Airport and Ethernet connections then created a new location.
Powered off and rebooted all switches and router
Network Diagnostics can't find a problem and says it's working.
Quit all Apps including DropBox, LogMeIn, Finder,
Logged out and back in.
None of this fixes the problem although a full reboot always does but there has to be a better way.
iMac core i5 running OSX 10.6.8
I can't believe Apple haven't addressed this issue there's nearly 25,000 views of this post!