Messages in this thread | | | Date | Fri, 08 Jan 1999 23:13:45 -0500 | From | nads@bleh ... | Subject | port forwarding problems w/2.2pre4 |
| |
Hi,
I'm sorry if the proceeding procedure is incorrect, however from the documents I read, it seems like I am doing it properly, however it does not work as desired.
I want to redirect all incoming tcp packets on port 5012 to 192.168.1.3 port 23
ipmasqadm Ver: 0.42
[root@nut /root]# ipmasqadm portfw -f [root@nut /root]# ipmasqadm portfw -a -P tcp -L 127.0.0.1 5012 -R 192.168.1.4 23
[root@nut /root]# ipmasqadm portfw -l prot localaddr rediraddr lport rport pcnt pref TCP localhost erp.nut.ml.org 5012 telnet 10 10 [root@nut /root]# telnet localhost 5012 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused [root@nut /root]# telnet 192.168.1.4 23 Trying 192.168.1.4... Connected to 192.168.1.4. Escape character is '^]'.
Also, on another port forwarding note, two external udp relaying programs i commonly used to redirect battlenet stuff to another machine don't work anymore. I'm nto sure if the network/udp stuff was changed or if this is a bug, heres some debug info from uredir (available @ sunsite, this worked fine under 2.0.36):
Jan 8 22:49:39 nut ./uredir[29843]: received 8 bytes from 206.165.111.251, port 6112 Jan 8 22:49:39 nut icmplog: destination unreachable from eithan Jan 8 22:49:39 nut ./uredir[29843]: sent 8 bytes to 192.168.1.3, port 6013 Jan 8 22:49:39 nut ./uredir[29843]: received 8 bytes from 206.165.111.251, port 6112 Jan 8 22:49:39 nut ./uredir[29843]: sendto(), error 111, Connection refused Jan 8 22:49:39 nut ./uredir[29843]: sent 8 bytes to 192.168.1.3, port 6013 Jan 8 22:50:00 nut icmplog: destination unreachable from localhost Jan 8 22:50:24 nut ./uredir[29843]: received 8 bytes from 24.1.239.222, port 6112 Jan 8 22:50:24 nut icmplog: destination unreachable from eithan
Again, I apologize if this my error, and not a kernel problems. Thanks for your time
-- Nadeem
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |