Skip to content

Commit

Permalink
Moved firewall.user rules to /etc/config/firewall.
Browse files Browse the repository at this point in the history
Limiting ssh connections from wan zone.
  • Loading branch information
Andrew Reynolds committed Apr 18, 2014
1 parent 220027a commit 40f2882
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
11 changes: 11 additions & 0 deletions default-files/etc/config/firewall
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@ config forwarding
config rule
option src 'wan'
option dest_port '22'
option proto 'tcp'
option state 'NEW'
option limit '3/min'
option limit_burst '2'
option target 'LOG'

config rule
option src 'wan'
option dest_port '22'
option state 'RELATED'
option state 'ESTABLISHED'
option target 'ACCEPT'
option proto 'tcp'

Expand Down
15 changes: 0 additions & 15 deletions default-files/etc/firewall.user

This file was deleted.

0 comments on commit 40f2882

Please sign in to comment.