SSH through port forwarding

Chad Perrin perrin at apotheon.com
Fri Dec 28 09:19:23 PST 2007


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."


More information about the freebsd-questions mailing list