Date: Mon, 12 Feb 2007 15:53:45 -0600 From: Robert C Wittig <wittig.robert@sbcglobal.net> To: freebsd-questions@freebsd.org Subject: Re: Onpening and Closing ports Message-ID: <45D0E1E9.1090301@sbcglobal.net> In-Reply-To: <45CEC7A4.7030802@ephgroup.com> References: <45CEC7A4.7030802@ephgroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dave Carrera wrote: > Hi All, > > Had a little nasty person trying to break my sshd on port 22. > > I need to change and open a new port for sshd but i do not know how. > > Can one of you kind people help me with this please > > Many kind regards > Instead of changing the sshd port, I set a PF rule that only permits port 22 logins from a specific list of IP addresses, where I expect ssh logins from. This would definitely not work on a production machine, with a lot of people logging in from random IP's, but for a small, private LAN, it works very nicely. -- -wittig http://www.robertwittig.com/ . http://robertwittig.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45D0E1E9.1090301>