term allow-telnet { from { protocol tcp; destination-port telnet; } then accept; } term DENY_LOG_OTHERS { then { count deny-others; log; discard; } }