SunScreen 3.1 Configuration Examples

DYNAMIC NAT

The other type of NAT supported by SunScreen is DYNAMIC. For this example the hosts sf-host2, sf-host3, and so forth, need access to the Internet. Their source addresses are translated to a legal address sf-dynamic (192.168.2.103 in this example).

  1. Define an address GROUP object called sf-internal and add all the internal hosts (sf-host1, and so forth) that need to use DYNAMIC NAT to this group.

  2. Define an address HOST object (sf-dynamic in this example) that contains the legal address (192.168.2.103 in this example).


    Note -

    DYNAMIC NAT can use a range of addresses. In this example, sf-dynamic can be a RANGE or GROUP object.


  3. Add an ARP entry for the legal address sf-dynamic, as described in the proceeding STATIC example.

  4. Add a rule to translate sf-internal to sf-dynamic, as shown in the following figure:

    Figure 3-3 DYNAMIC NAT Rule

    Graphic