PageRenderTime 363ms CodeModel.GetById 170ms app.highlight 1ms RepoModel.GetById 191ms app.codeStats 0ms

/silverlining/server-root/lib/ufw/user.rules

https://bitbucket.org/ianb/silverlining/
Unknown | 18 lines | 15 code | 3 blank | 0 comment | 0 complexity | cd1a685259902f0f81711c0234237bd0 MD5 | raw file
 1:ufw-user-output - [0:0]
 2:ufw-user-forward - [0:0]
 3:ufw-user-limit - [0:0]
 4:ufw-user-limit-accept - [0:0]
 5### RULES ###
 6
 7### tuple ### allow any 22 0.0.0.0/0 any 0.0.0.0/0 in
 8-A ufw-user-input -p tcp --dport 22 -j ACCEPT
 9-A ufw-user-input -p udp --dport 22 -j ACCEPT
10
11### tuple ### allow tcp 80 0.0.0.0/0 any 0.0.0.0/0 in
12-A ufw-user-input -p tcp --dport 80 -j ACCEPT
13
14### END RULES ###
15-A ufw-user-limit -m limit --limit 3/minute -j LOG --log-prefix "[UFW LIMIT BLOCK] "
16-A ufw-user-limit -j REJECT
17-A ufw-user-limit-accept -j ACCEPT
18COMMIT