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

Matt1010

New Member
Joined
Jan 13, 2019
Messages
1
Reaction score
0
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
Joined
Jan 21, 2019
Messages
20
Reaction score
9
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.
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top