[OpenWrt-Users] Help routing between wireless and wired segments

Benoît GANNE benoit.ganne at gmail.com
Fri Dec 15 09:53:49 CET 2006


> Forwarding is/was enabled, and still no luck.
> root at OpenWrt:~# cat /proc/sys/net/ipv4/ip_forward 
> 1

OK, so your router actually forwards packets...
The routes look correct too.
*But* it seems that you have a lot of firewall rules, and that's 
probably the problem.

Please try this :
~# /etc/init.d/firewall stop

It will flush the firewall rules. Then, retry to reach the various hosts 
on the different networks.

If it works, do :
~# /etc/init.d/firewall start

And send me the output of:
~# iptables -L -v
~# iptables -t nat -L -v

I'll try to identify the problematic(s) rule(s).

If it doesn't work:
do not restart your firewall and look at your various host (wified and 
wired) to check if they have a firewall. If yes, disable them and test 
again.

Ben.


More information about the openwrt-users mailing list