[j-nsp] Cisco Filter

David Gethings davidg at pipex.net
Mon Dec 27 05:53:24 EST 2004


On Mon, 2004-12-27 at 15:34 +0500, Sabah uddin Ahmed wrote:
> Dear All,
> 
> How to implement this Cisco Filter in Juniper 
> 
> permit tcp 172.16.1.0 0.0.0.255 172.17.0.0 0.0.255.255 eq 135
> 
> Any body help, I am very thankful it's urgent
Here's the code:

firewall {
  filter port135 {
    term block {
      from {
        source-address {
          172.16.1.0/24;
        }
        destination-address {
          172.17.0.0/16;
        }
        protocol tcp;
        port 135;
      }
      then {
        discard;
      }
    term permit {
      then {
        accept;
    }
  }
}


-- 
Cheers

Dg



More information about the juniper-nsp mailing list