SRX

last person joined: 13 hours ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Destination NAT and VPN

    Posted 06-04-2011 22:14

    I am having a issue due to the fact that Junos doesn't support multiple ports using destination NAT. I have several servers that I'm using destination NAT for, but one requires several ports to function. It would require me to create 1000+ pools and rules to make this work. So what I did was set a pool and rule using no port to allow all traffic to that device and setup security policies to allow the needed ports. Unfortunatly this configuration causing issues with VPN tunnels. It there a way to either setup multiple ports for D-NAT or setup D-NAT to passthrough port 500(junos-ike) and 259(CheckPoint Encryption)?

     

    Thanks,



  • 2.  RE: Destination NAT and VPN
    Best Answer

    Posted 06-05-2011 10:14

    Hi

     

    You can make exceptions like

     

            rule 10 {
                match {
                    destination-address 0.0.0.0/0;
                    destination-port 500;
                }
                then {
                    destination-nat off;
                }
            }

     

    And another rule for port 259. This rules should be at the top of the list, before your general rule.

    Please tell me if this solves your problem.



  • 3.  RE: Destination NAT and VPN

    Posted 06-05-2011 11:05

    That's a great idea! I didn't even think about that. I'll give it a try and let you know.

     

    Thanks,