OpenWrt Forum Archive

Topic: WRT54GL stop forwards

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

HI

I've a WRT54GK with kamikaze 7.09 as Gateway, of my LAN, I've made rules of forward to NAT the 6667 port of my public IP, to a private IP of the lan, I've lot of NATs. Sometimes the router stop forward the ports, I can connect from outside to the Router, but I can't connect to any port that I have forwarded. The only way to do this, is rebooting the router. I don't know if this is a problem of Kamikaze or why. Maybe is a connection limit of the Router.

This are the rules of forward:

iptables -t nat -A prerouting_wan -p tcp --dport 6667 -j DNAT --to 192.168.1.3:6667               
iptables        -A forwarding_wan -p tcp --dport 6667 -d 192.168.1.3 -j ACCEPT 

iptables -t nat -A prerouting_wan -p tcp --dport 6697 -j DNAT --to 192.168.1.3:6697
iptables        -A forwarding_wan -p tcp --dport 6697 -d 192.168.1.3 -j ACCEPT     

iptables -t nat -A prerouting_wan -p tcp --dport 10041 -j DNAT --to 192.168.1.3:10041
iptables        -A forwarding_wan -p tcp --dport 10041  -d 192.168.1.3 -j ACCEPT   

iptables -t nat -A prerouting_wan -p tcp --dport 10042 -j DNAT --to 192.168.1.3:10042
iptables        -A forwarding_wan -p tcp --dport 10042  -d 192.168.1.3 -j ACCEPT

iptables -t nat -A prerouting_wan -p tcp --dport 55355 -j DNAT --to 192.168.1.3:22
iptables        -A forwarding_wan -p tcp --dport 22 -d 192.168.1.3 -j ACCEPT 

I'm using DHCP, to connect to the WAN, not PPOE or PPTP.
Thanks in advance.

This is happening to lots of folks, including myself.  I'm personally in the middle of working out what the root cause is.

See the dev ticket: https://dev.openwrt.org/ticket/2558

And also see the forum thread:

http://forum.openwrt.org/viewtopic.php?pid=69336

I have just disabled QoS and been stable for a number of days.  I'd be interested if you use QoS-scripts yourself, and if turning it off helps you.  I'd also be interested in finding out how long it takes before the problem happens.

(Last edited by kaldek on 10 Jun 2008, 04:30)

kaldek,

Thanks for you answer, the problem happens randomly is so weird, I don't have the qos-script installed, I never used it.
If is a fix, I'll go to migrate  kamikaze to the version of 2.6 kernel.

This are my packages installed:

root@ElCisne:~# ipkg list_installed
base-files-brcm-2.4 - 10-9078 -
bridge - 1.0.6-1 -
busybox - 1.4.2-2 -
dnsmasq - 2.39-1 -
dropbear - 0.50-2 -
iptables - 1.3.7-1 -
kernel - 2.4.34-brcm-1 -
kmod-brcm-wl - 2.4.34+4.80.53.0-1 -
kmod-diag - 2+2.4.34-brcm-1 -
kmod-ipt-nathelper - 2.4.34-brcm-1 -
kmod-ppp - 2.4.34-brcm-1 -
kmod-pppoe - 2.4.34-brcm-1 -
kmod-switch - 2.4.34-brcm-1 -
kmod-wlcompat - 2.4.34+brcm-6 -
libgcc - 3.4.6-10 -
libpcap - 0.9.4-1 -
mtd - 5 -
nas - 4.80.53.0-1 -
nvram - 1 -
ppp - 2.4.3-8 -
ppp-mod-pppoe - 2.4.3-8 -
tcpdump - 3.9.4-1 -
uclibc - 0.9.28-10 -
wireless-tools - 29-1 -
wlc - 4.80.53.0-1 -
wol - 0.7.1-2 -
Done.
root@ElCisne:~#

Let me now if you have any idea, or any suggestion, or if you need some information of my AP.

Thanks.
Regards

quigon

Hi quigon,

I've had QoS running again for a while now and the problem has not occurred.  However, I *did* add swap space on a USB stick (it's an Asus WL-500GP).

I'm thinking this is a resource exhaustion problem of some sort.  The day it happens again I will be making a full dump of all the relevant stats to see if I can spot the problem.

The discussion might have continued from here.