Juniper EX4200: Firewall rules



  • Greetings,

    Can someone  help me to configure firewall on Juniper EX4200?
    (10.2R1.8 JUNOS 10.2R1.8)
    We need to block all udp and icmp traffic to specifc IP in our network.
    Which rules we should use to resolve this task?

    Any suggestions will be greatly appreciated.



  • Great thanks! :mrgreen:



  • firewall {
        family inet {
            filter test {
                term t1 {
                    from {
                        source-address {
                            1.1.1.1/32;
                        }
                        Protocol icmp;
                              icmp-type [ echo-request echo-reply time-exceeded unreachable ];
                    }
            then {
                        discard;
                term t2 {

    then {
                        accept;
                    }
    }

    You can include protocol UDP also

    I do not have switch handy i will try and send the exact output.

    you can try applying the above to a vlan interface or create a loopback and then apply to the loopback

    Krpytpnite


 

28
Online

38.4k
Users

12.7k
Topics

44.5k
Posts