Solved
Forum Discussion
Feb 01, 2017
It might be worthwhile to invert your logic and drop the "not" statement, to verify everything is working, then work towards flipping it back.
This is untested:
if{([TCP::local_port] > 50000 and [TCP::local_port] < 60000)} {
permit
elseif {[TCP::local_port] == 22 }{
permit
} else {
Drop request
drop
}