Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2002 08:54:50 +0100
From:      Axel Gruner <axel.gruner@suedfactoring.de>
To:        Shvetima Gulati <shvetima@engineering.ucsb.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: port forwarding
Message-ID:  <20021122085450.4fa5a2d7.axel.gruner@suedfactoring.de>
In-Reply-To: <Pine.LNX.4.33.0211211845540.14762-100000@ecipc056.engr.ucsb.edu>
References:  <Pine.LNX.4.33.0211211845540.14762-100000@ecipc056.engr.ucsb.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hiho.

On Thu, 21 Nov 2002 18:48:03 -0800 (PST)
Shvetima Gulati <shvetima@engineering.ucsb.edu> wrote:
> What is the easiest way of forwarding a port in FreeBSD. Suppose I
> want my server to listen on port 8280, but want all connection
> attempts to port 80  to be forwarded to this port ... can that be
> done?

Install "rinetd" from the ports.
In the rinetd.conf you will type:
<your_IP> 80 <your_IP> 8280
or
0.0.0.0 80 <your_IP_in_a_jail> 8280

asg


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?20021122085450.4fa5a2d7.axel.gruner>