Quantcast
Channel: All Ethernet Switching posts
Viewing all articles
Browse latest Browse all 10307

Re: Firewall filter to accept traffic from tcp, udp except destined for ssh/telnet

$
0
0

Hi Ahmed-netsec,

It’s much simple… You MUST always allow what you know/want exclusively and block the rest…

 

Term 1 – Allow the IP for Interested Specific Subnet [Genuine] for TCP/UDP

 

Sample: Allow all Trusted IP TTL,

 

            term TTL=1 {

                from {

                    source-prefix-list {

                        Infra;

                    }

                    protocol udp;

                    ttl 1;

                    destination-port 33434-33523;

                }

                then {

                    policer 25k_drop;

                    accept;

                }

            }

 

Term 2 – Drop the rest of the traffic for any IP

 

Last Term:

            term DENY_R {

                then {

                    count deny_others;

                    log;

                    syslog;

                    discard;

                }

            }


Viewing all articles
Browse latest Browse all 10307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>