ongoing additions, changes, and fixes

This commit is contained in:
Yuri Slobodyanyuk
2020-09-19 06:07:21 +00:00
parent 4230da64ce
commit 0e942c674e
2 changed files with 1090 additions and 265 deletions

View File

@@ -36,3 +36,33 @@ v1.0, 2020-09-01
|===
== Ubuntu Uncomplicated Firewall (ufw)
.ufw management commands
[cols=2, options="header"]
|===
|Command
|Description
|*ufw status*
|Show whether the firewall is on and if on, list the active rules.
|*ufw enable*
|Enable firewall.
|*ufw disable*
|Disable firewall
|*ufw reload*
|Reload firewall and rules.
|*ufw allow <predefined service name>*
| Allow some service in aany direction from/to any IP address using so called `simple` rule syntax. The service names are as per `/etc/services`. E.g. to allow ssh from any: `ufw allow ssh`.
|*/etc/ufw/before.rule*
|Some rules are pre-allowed by default, to change them edit the above file and reload firewall.
|===

File diff suppressed because it is too large Load Diff