lkml.org 
[lkml]   [1998]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectport forwarding

I'm trying to redirect a port from my internet connection to a local
computer (kind of like reverse ip masquerading). On the stable kernels, I
use:

ipportfw -A -u [ip]/[port] -R [ip]/[port]

Now, how can I do port forwarding on kernels 2.1.106 or greater? I've
tried:

ipchains -A forward -j REDIRECT -p [tcp|udp] -s [ip] [port] -d [ip] [port]

...and it seg. faulted. I've also tried adding the netmasks, and got the
same results.

Thanks
-Paul


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.053 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site