Date: Thu, 30 Jan 2003 16:57:14 -0600 From: kitsune <kitbsdlists@HotPOP.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: ssh & ipfw Message-ID: <20030130165714.75c5c6a1.kitbsdlists@HotPOP.com> In-Reply-To: <nioj3v8mnn1omqrpoi322pf926lodcf2f9@4ax.com> References: <nioj3v8mnn1omqrpoi322pf926lodcf2f9@4ax.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Do a man on natd and look at port redirection... To do it in rc.conf you should add to the natd_flag="" line... -redirect_port tcp_or_udp address_of_target_machine:port_on_target_machine incoming_port_on_the_router here is a example here... "-redirect_port tcp 192.168.0.2:22 6822 -redirect_port udp 192.168.0.2:22 6822" what this will do is redirect all tcp/udp packets coming in on port 6822 to 192.168.0.2:22 On Thu, 30 Jan 2003 22:06:45 -0500 Pete C <junk@thechristies.net> wrote: any quick pointers for how to go about setting up ssh though ipfw on a gateway/router running nat to one of the internal machines ? (FreeBSD on both the router and internal machine) after a quick search of the available resourses (Google/BSD, mail archives, etc) I'm thinking it should be easier that this ? 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?20030130165714.75c5c6a1.kitbsdlists>