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

Static Source Translation

The following configuration sets up one-to-one mapping between a private subnet and a public subnet:

[edit services nat]
pool mypool {
address 192.16.1.0/28; # public subnet
}
rule src-nat {
match-direction input;
term t1 {
from {
source-address 10.150.1.0/28; # private subnet
}
then {
translated {
source-pool mypool;
translation-type source static;
}
}
}
}

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