[Contents][Prev][Next][Index][Report an Error]

Configuring Twice NAT

In the following configuration, term1 configures source address translation and destination address translation for traffic from a specific destination address to a source address in a range of source addresses. Both destination and source pools are configured.

[edit services nat]
rule twice-nat {
match-direction input;
term my-term1 {
from {
destination-address {
41.41.41.41/32;
}
source-address-range {
low 10.58.254.34 high 10.58.254.35;
}
}
then {
translated {
source-pool src-pool;
destination-pool dst_pool;
translation-type {
source static;
destination static;
}
}
}
}
}

[Contents][Prev][Next][Index][Report an Error]