File: user.rules

package info (click to toggle)
ufw 0.36-7.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 5,864 kB
  • sloc: python: 8,665; sh: 5,951; makefile: 202
file content (11 lines) | stat: -rw-r--r-- 307 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
*filter
:ufw-user-input - [0:0]
:ufw-user-output - [0:0]
:ufw-user-forward - [0:0]
:ufw-user-limit - [0:0]
:ufw-user-limit-accept - [0:0]
### RULES ###
-A ufw-user-limit -m limit --limit 3/minute -j LOG --log-prefix "[UFW LIMIT BLOCK] "
-A ufw-user-limit -j REJECT
-A ufw-user-limit-accept -j ACCEPT
COMMIT