Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2008 11:01:34 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Richard Yang" <kusanagiyang@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: nat and ipfw, port forwarding
Message-ID:  <44y6y16201.fsf@lowell-desk.lan>
In-Reply-To: <abd417bf0812261227s52c0e950o2821ade2951abc5c@mail.gmail.com> (Richard Yang's message of "Fri\, 26 Dec 2008 12\:27\:32 -0800")
References:  <abd417bf0812261227s52c0e950o2821ade2951abc5c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Richard Yang" <kusanagiyang@gmail.com> writes:

> i have a ssh machine behind a freebsd firewall with nat and ipfw.
> how do i make port forwarding so internet can access the ssh machine?

Use 'redirect_port' with natd(8).
This is extensively documented in the Handbook:
http://www.freebsd.org/doc/en/books/handbook/network-natd.html

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/



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