Date: Thu, 21 Nov 2002 22:58:08 -0500 (EST) From: Marco Radzinschi <marco@radzinschi.com> To: Shvetima Gulati <shvetima@engineering.ucsb.edu> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: port forwarding Message-ID: <20021121225635.R6565-100000@radzinschi.com> In-Reply-To: <Pine.LNX.4.33.0211211845540.14762-100000@ecipc056.engr.ucsb.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Nov 2002, Shvetima Gulati wrote: > > Hi all, > > 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? > > Thanks, > Shv Yes, with IPFilter. In particular, you want to look at the ipnat part of IPFilter, and the rdr (redirect) keyword. Be sure to redirect to the loopback interface (lo0). man ipf man 5 ipf man ipnat man 5 ipnat Marco Radzinschi E-Mail: marco@radzinschi.com Thu Nov 21 22:56:35 EST 2002 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?20021121225635.R6565-100000>