[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Example: Configuring Destination NAT on J-series Services Routers
JUNOS software allows you to define policies to
translate the destination address from one IP address to another.
In this example, you perform the following tasks:
- Define a destination NAT (one-addr-dst-nat) with an IP
address (20.1.1.1).
- Define a destination NAT (addr-range-dst-nat) with an
IP address range (30.1.1.0 to 30.1.1.255).
- Define a destination NAT (addr-and-port-dst-nat) with
an IP address (40.1.1.1) and a port number (8080).
- Define a reference (one-addr-dst-nat) in a policy (dst-nat-policy-1)
to map a destination IP subnet (2.1.1.0/24) to address (20.1.1.1).
- Define a reference (addr-range-dst-nat) in a policy (dst-nat-policy-2)
to map a destination IP subnet (3.1.1.0/24) to a subnet (30.1.1.0/24).
- Define a reference (addr-and-port-dst-nat) in a policy
(dst-nat-policy-3) to map a destination IP subnet (4.1.1.0/24) and
a port number (80) to an address (40.1.1.1) and a port number (8080).
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]