thE_29
03-09-2007, 07:37
Hi!
I would like to forward the ssh (port 22) and the port 11280 to my router! So i added in the WebInterface the ports 22 and port 11280 to route to 192.168.0.1 (router ip).
When i take a look at the iptables -l -t nat it has these lines:
DNAT tcp -- anywhere anywhere tcp dpt:8029 to:192.168.0.1:80
DNAT tcp -- anywhere anywhere tcp dpt:ssh to:192.168.0.1:22
DNAT udp -- anywhere anywhere udp dpt:ssh to:192.168.0.1:22
DNAT tcp -- anywhere anywhere tcp dpt:11280 to:192.168.0.1:11280
DNAT udp -- anywhere anywhere udp dpt:11280 to:192.168.0.1:11280
DNAT tcp -- anywhere anywhere tcp dpt:telnet to:192.168.0.1:23
The WebRemote Interface works (port 8029 to port 80 on router). I can connect to the webinterface from the internet! But not with ssh or with the port 11280 (i have a program running listening on port 11280). Telnet also dont works! But the ftp works.. But i never say, that i want to forward the 21 port to WAN (but the ftp is ok for me).
So what is the problem? The WebInterface works correctly, but no other ports are forwarded to my router :(
I would like to forward the ssh (port 22) and the port 11280 to my router! So i added in the WebInterface the ports 22 and port 11280 to route to 192.168.0.1 (router ip).
When i take a look at the iptables -l -t nat it has these lines:
DNAT tcp -- anywhere anywhere tcp dpt:8029 to:192.168.0.1:80
DNAT tcp -- anywhere anywhere tcp dpt:ssh to:192.168.0.1:22
DNAT udp -- anywhere anywhere udp dpt:ssh to:192.168.0.1:22
DNAT tcp -- anywhere anywhere tcp dpt:11280 to:192.168.0.1:11280
DNAT udp -- anywhere anywhere udp dpt:11280 to:192.168.0.1:11280
DNAT tcp -- anywhere anywhere tcp dpt:telnet to:192.168.0.1:23
The WebRemote Interface works (port 8029 to port 80 on router). I can connect to the webinterface from the internet! But not with ssh or with the port 11280 (i have a program running listening on port 11280). Telnet also dont works! But the ftp works.. But i never say, that i want to forward the 21 port to WAN (but the ftp is ok for me).
So what is the problem? The WebInterface works correctly, but no other ports are forwarded to my router :(