> > 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?

Put this in /etc/ipnat.rules

rdr dc0 0/0 port 80 -> 127.0.0.1 port 8280 tcp

And this in /etc/rc.conf

ipfilter_enable="YES"
ipnat_enable="YES"
ipmon_enable="YES"
ipfs_enable="YES"

I am using similar configuration for squid. But remember to check the
documentation first.
Here is a great article

http://www.defcon1.org/~ghostrdr/FreeBSD-STABLE_and_IPFILTER.html




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

Reply via email to