Deny Port Through UFW

Explicitly blocks inbound connections to a port. UFW processes rules in order - a deny rule added after an allow rule for the same port will not override it.

When you need this: When you need to explicitly block a port that was previously open.

Variables

Command


        
2 views 0 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.