Paste #241983 |
pasted on 15.12.2021 18:37
- Edit to this paste
- Raw
-
Compare with paste
#
Text paste
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | *filter :ufw6-user-input - [0:0] :ufw6-user-output - [0:0] :ufw6-user-forward - [0:0] :ufw6-before-logging-input - [0:0] :ufw6-before-logging-output - [0:0] :ufw6-before-logging-forward - [0:0] :ufw6-user-logging-input - [0:0] :ufw6-user-logging-output - [0:0] :ufw6-user-logging-forward - [0:0] :ufw6-after-logging-input - [0:0] :ufw6-after-logging-output - [0:0] :ufw6-after-logging-forward - [0:0] :ufw6-logging-deny - [0:0] :ufw6-logging-allow - [0:0] :ufw6-user-limit - [0:0] :ufw6-user-limit-accept - [0:0] ### RULES ### ### tuple ### allow tcp 6881 ::/0 any ::/0 qBittorrent - in -A ufw6-user-input -p tcp --dport 6881 -j ACCEPT -m comment --comment 'dapp_qBittorrent' ### tuple ### allow udp 1714:1764 ::/0 any ::/0 in -A ufw6-user-input -p udp -m multiport --dports 1714:1764 -j ACCEPT ### tuple ### allow tcp 1714:1764 ::/0 any ::/0 in -A ufw6-user-input -p tcp -m multiport --dports 1714:1764 -j ACCEPT ### END RULES ### ### LOGGING ### -A ufw6-after-logging-input -j LOG --log-prefix "[UFW BLOCK] " -m limit --limit 3/min --limit-burst 10 -A ufw6-after-logging-forward -j LOG --log-prefix "[UFW BLOCK] " -m limit --limit 3/min --limit-burst 10 -I ufw6-logging-deny -m conntrack --ctstate INVALID -j RETURN -m limit --limit 3/min --limit-burst 10 -A ufw6-logging-deny -j LOG --log-prefix "[UFW BLOCK] " -m limit --limit 3/min --limit-burst 10 -A ufw6-logging-allow -j LOG --log-prefix "[UFW ALLOW] " -m limit --limit 3/min --limit-burst 10 ### END LOGGING ### ### RATE LIMITING ### -A ufw6-user-limit -m limit --limit 3/minute -j LOG --log-prefix "[UFW LIMIT BLOCK] " -A ufw6-user-limit -j REJECT -A ufw6-user-limit-accept -j ACCEPT ### END RATE LIMITING ### COMMIT |