Blocking all IP's except for my public ip for ssh (UFW)

Matt1010

New Member
Credits
0
Hello,
I'm running a website on Apache2 ubuntu 18.04 and I was wondering how to block all ip addresses except for my public ip address for ssh. Trying to lock the server down as much as I can.
 


9daemon

New Member
Credits
0
Block it with your firewall. I'm sure you have IP tables or can get something similar. Also make sure 1) SSH is up to date and 2) use public key instead of a password if possible. There are other options like IDS/IPS but simply blocking everything but your IP is your best bet.
 


Members online


Top