Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. firewall { '200 limit incoming SSH connections to 6 per minute':
  2. dport => 22,
  3. proto => tcp,
  4. recent => update,
  5. rseconds => 60,
  6. rhitcount => 6,
  7. rname => 'SSH',
  8. rsource => true,
  9. action => drop,
  10. } -> firewall { '201 allow incoming SSH connections':
  11. dport => 22,
  12. proto => tcp,
  13. recent => set,
  14. rname => 'SSH',
  15. rsource => true,
  16. action => accept,
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement