SRX

last person joined: 4 days ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  SRX firewall nat or route interface.

    Posted 10-06-2009 03:08

    Hi all,

     

    In SRX series, do we have some thing like ScreenOS as below ?

     

    set interface ethernet0/0 route

    set interface ethernet0/1 nat

     

    Or in SRX each every interface mode i cant change it ?

     

    thank you



  • 2.  RE: SRX firewall nat or route interface.

    Posted 10-06-2009 04:11

    Hi Lim,

     

    The SRX does not support interface natting. All natting has to be doen in the NAT policy. To simulate the same natting you can use this policy:

     

    security {
        nat {
            source {
                rule-set outbound-source-nat {
                    from zone trust;
                    to zone untrust;
                    rule default {
                        match {
                            source-address 0.0.0.0/0;
                        }
                        then {
                            source-nat {
                                interface;
                            }
                        }
                    }
                }
            }
        }

     

    To enter this in your config:

     

    set security nat source rule-set outbound-source-nat from zone trust
    set security nat source rule-set outbound-source-nat to zone untrust
    set security nat source rule-set outbound-source-nat rule default match source-address 0.0.0.0/0
    set security nat source rule-set outbound-source-nat rule default then source-nat interface

    And a commit of course.



  • 3.  RE: SRX firewall nat or route interface.

    Posted 10-06-2009 10:54

    hi,

     

    thanks for the help. In SRX, if the interface i wan to be in "route mode", i just need not do any nat policy so the interface will be in route mode ?

     

    Thank you

    Meng Kiat



  • 4.  RE: SRX firewall nat or route interface.
    Best Answer

    Posted 10-06-2009 13:37

    Hi,

     

    in SRX there's no such thing as route mode or nat mode. If you like think of all interfaces as in route mode. On ScreenOS when trust interface is in NAT mode all traffic from trust zone to untrust is natted on Egress (untrust) interface with PAT. The nat policy I showed gives the same behaviour.