• Rob's side project: I recently started Gun-Forums.com and we currently have a $100 raffle - if you're into guns, join up and enter the raffle to win $100.00. Gun Forums

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

Matt1010

New Member
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
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

No members online now.

Latest posts

Top