Re: port/ip redirection again

Denis Voitenko (denis@homerubber.com)
Fri, 3 Sep 1999 18:41:46 -0400


Damn you people ! :-) I asked how to do it with IPCHAINS! I tried to find
rinet but could not and it is not suppliend with my distro (Slack).

Denis Voitenko

----- Original Message -----
From: Martin Krzywinski <martink@physics.ubc.ca>
To: Denis Voitenko <denis@homerubber.com>
Cc: net <linux-net@vger.rutgers.edu>
Sent: Friday, September 03, 1999 6:37 PM
Subject: Re: port/ip redirection again

>
> Use rinetd daemon and /etc/rinetd.conf includes:
>
> EXTERNAL_IP PORT INTERNAL_IP PORT
>
> e.g.
>
> x.x.x.x 80 10.1.1.1 80
>
> redirects all port 80 stuff from your firewall at x.x.x.x to an internal
> machine 10.1.1.1
>
> You can play with all ports. One neat-o way to redirect X:
>
> x.x.x.x 60yy 10.1.1.yy 6000
>
> will allow you to transport X stuff through the firewall to your desktop.
> On the remote host just type
>
> export DISPLAY=x.x.x.x:yy
>
> Good luck,
>
> mk
>
> > This question has been asked here a ton of times and never got a good
answer
> > so I will ask again. What is the way to redirect ports with ipchains? I
am
> > aware that there is a package on Debian besides ipchains that does that.
But
> > I want to do it with ipchains. I am starting to read the manual today,
but I
> > hope to get an answer before I am done with it.
> >
> > Denis Voitenko
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-net" in
> > the body of a message to majordomo@vger.rutgers.edu
> >
>
>
> -------------------------------------------------------------------------
> Genius is one percent inspiration and ninety-nine percent perspiration.
> Thomas Alva Edison (Newspaper interview)
> --------------------------------------------------------------- 87/1424 -
>
> Martin Krzywinski
> System Administrator
> Genome Sequence Center
> BC Cancer Research Center
> 601 West 10th Avenue
> Vancouver, BC V5Z 1L3
> tel: (604) 415-7184
> fax: (604) 415-7192
> http://www.cigenomics.bc.ca
>
>
>
>

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