Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2007 10:19:18 -0700
From:      Chad Perrin <perrin@apotheon.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: SSH through port forwarding
Message-ID:  <20071228171918.GC89701@demeter.hydra>
In-Reply-To: <200712180602.19729.lists-fbsd@shadypond.com>
References:  <340a29540712171957l7b3e426fh9f35051a7bc6d48e@mail.gmail.com> <200712180602.19729.lists-fbsd@shadypond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 18, 2007 at 06:02:18AM +0000, Pollywog wrote:
> 
> Make sure the ISP is not blocking port 22.  If they block it, you will need to 
> change the SSH port in sshd_config and then set the router to forward the 
> port to the server's internal IP address.  It's a good idea to change the 
> port anyway, in order not to be obvious to script kiddies.

You shouldn't have to change the port on which SSH listens on the FreeBSD
machine.  Just set up the router to forward from the higher port number
on incoming requests to port 22 on the internal machine.  It should be
less work that way.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
MacUser, Nov. 1990: "There comes a time in the history of any project when
it becomes necessary to shoot the engineers and begin production."



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