This repository has been archived on 2025-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
chimera-linux/ufw-config.md
julien df88ae3580 doc
2025-01-09 23:05:04 +01:00

29 lines
395 B
Markdown

# UFW configuration
To enable UFW :
```
# dinitctl enable ufw
# ufw enable
```
Deny all incoming traffic by default, allow outgoing :
```
# ufw default deny incoming
# ufw default allow outgoing
```
Open needed ports, here an example with `SSH` :
```
# ufw allow 22
```
You may also limit SSH connections against brute-force :
```
# ufw limit ssh
```
Then reload UFW :
```
# ufw reload
```