[svlug] port forwarding

Seth David Schoen schoen at uclink4.berkeley.edu
Sun Nov 29 19:34:49 PST 1998


Dave Zarzycki writes:

> On Sun, 29 Nov 1998 garry at jackson.ml.org wrote:
> 
> > does nayone know how to set up a program to forward a port on the internet
> > to a port on a internal behind the firewall machine.
> 
> There are two ways of doing this.
> 
> One is at the application level with programs such as redir or
> simpleproxy.
> 
> The other way, and the way that I like best, is to use the kernel.
> 
> linux 2.2 will support something called ipportfw, which does what you want
> at the kernel level. This not only offers the advantage of being faster,
> but has the added feature of re-writting the packet "to" address to the
> real machine, while leaving the "from" address alone. (application level
> proxies can't do this.)
> 
> If you want an application level proxy, go look over at sunsite.unc.edu
> via ftp.

The current redir is at

ftp://sunsite.unc.edu/pub/Linux/system/network/daemons/redir-1.1.tar.gz

I would argue that this is currently a better option for people running
2.0 kernels, especially because it doesn't require a reboot or kernel
recompile.

-- 
   Seth David Schoen L&S '01 (undeclared) / schoen at uclink4.berkeley.edu
He said, "This is what the king who will reign over you will do."  And they
said, "Nay, but we will have a king over us, that we also may be like all the
nations." (1 Sam 8)  http://ishmael.geecs.org/~sigma/   http://www.loyalty.org/

--
echo "unsubscribe svlug" | mail majordomo at svlug.org
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to unsubscribe
see http://www.svlug.org/mdstuff/lists.shtml for posting guidelines.



More information about the svlug mailing list