Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Example: Configuring Static Destination Address Translation

    The following example configures the translation type as dnat-44.

    [edit services]
    user@host# show 
    service-set s1 {
        nat-rules rule-dnat44;
        interface-service {
            service-interface ms-0/1/0;
        }
    }
     nat {
        pool dest-pool {
            address 4.1.1.2/32;
        }
        rule rule-dnat44 {
            match-direction input;
            term t1 {
                from {
                    destination-address {
                        20.20.20.20/32;
                    }
                }
                then {
                    translated {
                        destination-pool dest-pool;
                        translation-type {
                            dnat-44;
                        }
                    }
                }
            }
        }
    }
      adaptive-services-pics {
        traceoptions {
            flag all;
        }
      }
    

    Published: 2012-07-02