nat and ipfw, port forwarding

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Sat Dec 27 16:01:39 UTC 2008


"Richard Yang" <kusanagiyang at 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/


More information about the freebsd-questions mailing list