Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 2002 14:09:59 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Lord Raiden <raiden23@netzero.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Port redirects
Message-ID:  <20020409120959.GB13525@student.uu.se>
In-Reply-To: <4.2.0.58.20020409074549.0095caa0@pop.netzero.net>
References:  <4.2.0.58.20020409074549.0095caa0@pop.netzero.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 09, 2002 at 07:48:37AM -0400, Lord Raiden wrote:
> 	Hi all.  Is there a simple way to redirect a port?  Say for example 
> 	that port 80 is blocked by default by a given router and no matter what we 
> do we can't bypass it.  Yet I can't repoint the port using the normal lan 
> either.  Yet say port 150 is open.  How would I go about setting my system 
> so that any connects to port 150 are treated as though they were being 
> connected to port 80?  Or how about any requests to port 150 would 
> automatically redirect to port 80 right on the server?  Is there a way to 
> do this?  How about the other way around?

Use ipfw/natd and look at the -redirect_port option for natd.


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020409120959.GB13525>