Hello,
When I put the default action on an outside-local rule the connection that I have is dropped. Is this an expected behavior? My thoughts are that if a rule is matched, ssh allowed from “10.10.10.1” the session should be allowed. As soon as I run a commit-confirm and add in <set firewall name OUTSIDE-LOCAL default-action 'drop> the connection drops. Any ideas on what I might be doing wrong?
set firewall name OUTSIDE-LOCAL default-action ‘drop’
set firewall name OUTSIDE-LOCAL enable-default-log
set firewall name OUTSIDE-LOCAL rule 10 action ‘drop’
set firewall name OUTSIDE-LOCAL rule 10 destination port ‘22’
set firewall name OUTSIDE-LOCAL rule 10 protocol ‘tcp’
set firewall name OUTSIDE-LOCAL rule 10 recent count ‘4’
set firewall name OUTSIDE-LOCAL rule 10 recent time ‘minute’
set firewall name OUTSIDE-LOCAL rule 10 state new ‘enable’
set firewall name OUTSIDE-LOCAL rule 20 action ‘accept’
set firewall name OUTSIDE-LOCAL rule 20 destination port ‘22’
set firewall name OUTSIDE-LOCAL rule 20 protocol ‘tcp’
set firewall name OUTSIDE-LOCAL rule 20 source group network-group ‘ALLOW_SSH_FROM’
set firewall name OUTSIDE-LOCAL rule 20 state new ‘enable’
set firewall name OUTSIDE-LOCAL rule 30 action ‘drop’
set firewall name OUTSIDE-LOCAL rule 30 destination port ‘22’
set firewall name OUTSIDE-LOCAL rule 30 protocol ‘tcp’
set firewall name OUTSIDE-LOCAL rule 30 source group network-group ‘DENY_SSH_FROM’
set firewall name OUTSIDE-LOCAL rule 30 state new ‘enable’
set firewall group network-group ALLOW_SSH_FROM network ‘10.10.10.1/32’
set firewall group network-group DENY_SSH_FROM network ‘10.10.10.0/24’
Id Original src Original dst Reply src Reply dst Protocol State Timeout Mark Zone
2967931533 127.0.0.1:43542 127.0.0.1:53 127.0.0.1:53 127.0.0.1:43542 udp 4 0
2790450277 127.0.0.1:39339 127.0.0.1:53 127.0.0.1:53 127.0.0.1:39339 udp 4 0
3026652793 10.10.10.1:13025 172.x.x.x:22 172.x.x.x:22 10.10.10.1:13025 tcp ESTABLISHED 431999 0
-Nathan