Ufw
Jump to navigation
Jump to search
Description
INCOMPLETE SECTION OR ARTICLE
This section/article is being written and is therefore not complete.
Thank you for your comprehension.
Thank you for your comprehension.
Installation
$ sudo aptitude install ufw
Syntax
Usage
Usage: ufw COMMAND
Commands
enable enables the firewall disable disables the firewall default ARG set default policy logging LEVEL set logging to LEVEL allow ARGS add allow rule deny ARGS add deny rule reject ARGS add reject rule limit ARGS add limit rule delete RULE|NUM delete RULE insert NUM RULE insert RULE at NUM route RULE add route RULE route delete RULE|NUM delete route RULE route insert NUM RULE insert route RULE at NUM reload reload firewall reset reset firewall status show firewall status status numbered show firewall status as numbered list of RULES status verbose show verbose firewall status show ARG show firewall report version display version information
Application profile commands:
app list list application profiles app info PROFILE show information on PROFILE app update PROFILE update PROFILE app default ARG set default application policy
Examples
Enable/Disable
$ sudo ufw enable Firewall is active and enabled on system startup
$ sudo ufw disable Firewall stopped and disabled on system startup
Status
$ sudo ufw status verbose Status: active Logging: on (low) Default: deny (incoming), allow (outgoing), disabled (routed) New profiles: skip
Allow rule
Allow any traffic from 1.2.3.4:6690/tcp to any port on machine:
$ sudo ufw allow proto tcp from 1.2.3.4 port 6690 to any