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: [EMAIL PROTECTED]

Thu Nov 21 22:56:35 EST 2002


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to