Firewall
$ sudo ufw enable
Enables the firewall immediately
$ sudo ufw disable
Disables the firewall immediately
$ sudo ufw default allow
Allows all connections through the firewall immediately
$ sudo ufw default deny
Drop all incoming network connections
$ sudo ufw status
Display current firewall status and rules
$ sudo ufw allow {PORT}
Allow network traffic through specified port number
$ sudo ufw deny {PORT}
Deny network traffic through specified port number
$ sudo ufw deny from {IP}
Deny network traffic from the specified IP address

Pages: 1 2 3 4 5 6 7 8 9

Tags: