block all except a few ip addresses using ufw
Asked by
Alan Cameron
I have setup a Ubuntu 18.04 Server and want to block all IP addresses from access of ssh except a few, How?
ufw seems to allow everyone but not block everyone.
I can block the ssh from everyone but not then allow certain IP's to access SSH
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Alan Cameron for more information if necessary.
To post a message you must log in.