spearhead
24-02-2005, 23:57
I think there is a bug in the Virtual server with local port setting. When I add a line with a local port setting, eg mapping 8000 to 80.
Iptables gives: (iptables -L -t nat -n)
DNAT tcp -- 0.0.0.0/0 10.0.0.139 tcp dpt:8000 to:192.168.1.6:80
which is correct. Now If I go back to the web interface and add another line eg mapping port 22000 to 22
I get the output
DNAT tcp -- 0.0.0.0/0 10.0.0.139 tcp dpt:8000 to:192.168.1.6
DNAT tcp -- 0.0.0.0/0 10.0.0.139 tcp dpt:22000 to:192.168.1.6:22
Some how the :80 is missing. The web interface copies this precisely. In fact one local port setting goes exactly right - adding one more loses the previous ones. I'm using this firmware 1.9.2.7-3c on WL500g.
Iptables gives: (iptables -L -t nat -n)
DNAT tcp -- 0.0.0.0/0 10.0.0.139 tcp dpt:8000 to:192.168.1.6:80
which is correct. Now If I go back to the web interface and add another line eg mapping port 22000 to 22
I get the output
DNAT tcp -- 0.0.0.0/0 10.0.0.139 tcp dpt:8000 to:192.168.1.6
DNAT tcp -- 0.0.0.0/0 10.0.0.139 tcp dpt:22000 to:192.168.1.6:22
Some how the :80 is missing. The web interface copies this precisely. In fact one local port setting goes exactly right - adding one more loses the previous ones. I'm using this firmware 1.9.2.7-3c on WL500g.