Difference between revisions of "CLI - ufw"

Line 1: Line 1:
 
__FORCETOC__
 
__FORCETOC__
 
=== ufw ===
 
=== ufw ===
The imRAD system use "ufw" as a default firewall configuration.<ref>https://help.ubuntu.com/community/UFW</ref>
+
The imRAD system uses "ufw" as a default firewall configuration.<ref>https://help.ubuntu.com/community/UFW</ref>
 +
UFW is a front-end for iptables and is particularly well-suited for host-based firewalls. Users can therefore configure the firewall to allow certain types of network traffic to pass into and out of a system (for instance SSH or web server traffic). This is done by opening and closing TCP and UDP "ports" in the firewall. Additionally, firewalls can be configured to allow or restrict access to specific IP addresses (or IP address ranges).<ref>https://help.ubuntu.com/community/Firewall</ref>
 +
 
 +
You can enable or disable using the <code>ufw enable</code> or <code> ufw disable</code> command in the configuration mode.
 +
''The status of ufw is initially in disable''. Therefore, you may enable it if necessary.
 +
 
 +
We introduce basic syntax and examples. For more details, Please visit the https://help.ubuntu.com/community/UFW.
 +
 
 +
==== Verifying ufw ====
 +
<pre>
 +
LYSH@MyHostName# show ufw
 +
Status: inactive
 +
</pre>
 +
 
 +
<pre>
 +
LYSH@MyHostName# show ufw
 +
Status: active
 +
Logging: on (low)
 +
Default: deny (incoming), allow (outgoing), disabled (routed)
 +
New profiles: skip
 +
 
 +
 
 +
</pre>
 +
 
 +
==== Add/Insert rules ====
 +
 
 +
==== Delete rules ====
 +
 
  
 
=== References ===
 
=== References ===

Revision as of 17:22, 22 April 2021

ufw

The imRAD system uses "ufw" as a default firewall configuration.[1] UFW is a front-end for iptables and is particularly well-suited for host-based firewalls. Users can therefore configure the firewall to allow certain types of network traffic to pass into and out of a system (for instance SSH or web server traffic). This is done by opening and closing TCP and UDP "ports" in the firewall. Additionally, firewalls can be configured to allow or restrict access to specific IP addresses (or IP address ranges).[2]

You can enable or disable using the ufw enable or ufw disable command in the configuration mode. The status of ufw is initially in disable. Therefore, you may enable it if necessary.

We introduce basic syntax and examples. For more details, Please visit the https://help.ubuntu.com/community/UFW.

Verifying ufw

LYSH@MyHostName# show ufw
Status: inactive
LYSH@MyHostName# show ufw
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip


Add/Insert rules

Delete rules

References