Can someone please tell me how to restrict SSH access only to certain IP ranges (e.g. local network) and not the whole Internet? I guess this has to be done via firewall.
Tell me more
×
Ask Different is a question and answer site for
power users of Apple hardware and software. It's 100% free, no registration required.
|
From
http://www.debian-administration.org/articles/87 offers these examples:
The tcp wrapper program in Mac OS X is |
|||
|
|
|
If you are behind a router and didn't map the port to your computer, that effectively disables SSH access from the internet. |
|||||||||||||
|
|
I did not test this, but I'd try this in terminal:
|
|||
|
|
