OpenWrt Forum Archive

Topic: Internal computers can't ping external IPs and hosts

The content of this topic has been archived on 26 Jan 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi there.  I'm new to OpenWRT (and fairly new to routing and whatnot in general), so please point me in the right direction if this is completely trivial.  I just installed OpenWRT Kamikaze 7.09 on my Linksys WRT54GS V1.0 and all was going well.  I'm using PPPoE to connect to my DSL.  I've been toying with settings but not doing anything major.  Tonight I tried to get OpenVPN working but haven't done so successfully.  After a reboot, I was no longer able to ping anything outside my network on client computers.  However, if I ssh into the router, I can ping IPs on the internet.

I have tried manually setting the DNS servers on the client computers, and whether or not I do that, I can resolve host names to IPs but get no response from the ping.

Anyone have any advice?

Thanks a million!
Eamon

(Last edited by tachytrope on 10 Jun 2008, 06:37)

Maybe you did not enable NAT on your WAN interface?

NAT on the WAN interface is the default in OpenWrt. Probably your clients does not have the OpenWrt router as the gateway.

forum2008 wrote:

NAT on the WAN interface is the default in OpenWrt.

Some time ago, I tried to use PPTP for the WAN connection with openwrt, which sadly was totally unusable at that time. So I was forced to setup iptables and connections manually, including NAT.
Since PPPoE and PPTP are related, it could be, he does connect manually, without seeing openwrt PPPoE as the WAN connection.

I'll definitely look into those possibilities.  What really confuses me is that everything was working just fine.  All the client computers could ping external hosts and access the internet, and then it just quit working.

Is there a good explanation of how manual routing works?  I'd like to check all my settings, but don't entirely understand what all the routes mean.  I also plan to set up OpenVPN so getting an explanation would be good, but hopefully some of these will fix my problem.

Thanks

Eamon

Okay, I know that this is bit old topic but still...
I have same problem, I know that It´s related to OpenVpn-client because after stopping openvpn-client and rebooting wan iface everything works fine. I think solution could be that openvpn-client starts last after every else network script. I just dont´t know how to do that...

tachytrope wrote:

I'll definitely look into those possibilities.  What really confuses me is that everything was working just fine.  All the client computers could ping external hosts and access the internet, and then it just quit working.

Is there a good explanation of how manual routing works?  I'd like to check all my settings, but don't entirely understand what all the routes mean.  I also plan to set up OpenVPN so getting an explanation would be good, but hopefully some of these will fix my problem.

Thanks

Eamon

I might get a good explanation going, one of these days.

By clients, do you mean openvpn clients?

What OS are they running?

If linux, give us `route -n`, windows, `route print`

what's IP addresses do some of these clients have?

can they ping the *local* end of the tunnel?

openvpn config file?

The discussion might have continued from here.