|
Configure the NAT pool from which the addresses for Network Address
Translation are taken.
|
- From the top of the configuration hierarchy, click Services>Nat.
- In the Pool field, click Add new entry.
- In the Pool name field, type the name of the NAT pool.
It can be any unique string less than 64 characters long.
- In the Address choice field, select Address from
the list.
- In the Address box, type the IP address of the local tunnel
endpoint, in dotted decimal notation.
|
- From the top of the configuration hierarchy, enter
edit services nat
- Add the local tunnel endpoint to the NAT address pool:
set pool pool-name address 1.1.1.1
|
|
Configure the router so that all outgoing traffic is matched against
the IP address of the local tunnel endpoint.
|
- From the top of the configuration hierarchy, click Services>Nat.
- In the Rule field, click Add new entry.
- In the Rule name field, type the name of the rule. The
name can be any unique string.
- In the Match direction field, select Output from
the list.
- In the Term field, click Add new entry.
- In the Term name field, type the name of the term. The
name can be any unique string.
- Click From.
- In the Source address field, click Add
new entry.
- In the address field, select Enter specific
value from the list.
- In the Address box, type the IP address of the local tunnel
endpoint, in dotted decimal notation, and click OK.
|
- From the top of the configuration hierarchy, enter
edit services nat
- Configure a NAT rule and apply it to all output traffic:
set rule rule-name match-direction output
- Configure the rule to match traffic with a source address
that is the same as the local tunnel endpoint:
set rule rule-name term term-name from
source-address 1.1.1.1
|
|
Configure the router so that the source address for traffic through
the local endpoint is translated to the local endpoint address.
|
- From the top of the configuration hierarchy, click Services>Nat>Rule> rule-nameTerm>term-name
- Click Then.
- Click Translated.
- In the Source pool field, type the name of the NAT pool
in which the local tunnel endpoint is configured.
- In the Source field, select Static from
the list.
|
- From the top of the configuration hierarchy, enter
edit services nat rule rule-name term term-name
- Configure the source pool:
set then translated source-pool pool-name
- Configure the type of translation:
set then translated translation-type source static
|