This chapter shows how to form different types of VPNs using IP Tunnels and SKIP. It also has examples of how to set up the VPN software in configurations where you are also running Network Address Translation (NAT). It includes the following sections:
Adding IP Tunnels With SKIP and Creating Certificates
Running VPN Between Router and SunScreen SKIP Client
Running VPN Between Two Routers
Perimeter Networks
Firewall Configuration
Adding IP Tunnels With SKIP and Creating Certificates
Each of the examples in this chapter assumes you have already added an IP tunnel with SKIP and created a certificate as described in the next two sections.
Creating an IP Tunnel With SKIP
Add a tunnel interface for the VPN link to the remote client, router, or server, and enable SKIP on the tunnel interface.
Config>ADD INTERFACE IP-TUNNEL
Adding IP Tunnel as interface 4.
Config>ENABLE SKIP
Interface number [0]? 4
Config>NETWORK
What is the network number [0]? 4
Circuit Configuration
Circuit Config <NET-4> SKIP
SKIP Configuration
SKIP Config <NET-4>
This example uses a 1024-bit certificate.
SKIP Config <NET-4> ADD CERTIFICATE 1024
New certificate's MD5/UDH signature is 8033-CCC1-87DB-8367-FAAB-52A2-03A2-1BAB
Every remote client, router, or server that connects to the local router needs the signature of this new certificate, 8033-CCC1-87DB-8367-FAAB-52A2-03A2-1BAB. Relay the signature to the administrators of remote SKIP peers. This value is only an example. Signatures are different for every certificate and for every router.
Figure 6 VPN with SunScreen SKIP for Windows

38.1.5.4 is the IP address of the router's physical WAN interface that acts as the gateway to the Internet. The router must have a fixed IP address that is configured in SunScreen SKIP for Windows as the Tunnel endpoint address.
The address of the PC can vary as long as the PC always initiates traffic to the central site. The PC can have any IP address because the MD5/UDH name in each SKIP packet identifies the PC. Once the PC sends a packet, the router learns the PC's current IP address and sends traffic back to the PC via that address.
The protected LAN (128.185.0.0) can use any valid, or reserved, IP addresses. (If you enable Network Address Translation (NAT) on the router, the protected LAN can use IP addresses that are not valid on the Internet.)
The PC cannot be on the subnet to which it is tunneling, 128.185.0.0 in this example.
The software displays the MD5 signature of the certificate. In Figure 6, the example value SunScreen SKIP displays is 0011-2233-4455-6677-8899-AABB-CCDD-EEFF. You enter this number in the router configuration later.
-Network accessed via SKIP, 128.185.0.0 in this example
-Security type, SKIP
-Tunnel endpoint address, 38.1.5.4 in this example
-NetMask, 255.255.0.0 in this example
Config>NETWORK 7
Circuit Configuration
Circuit Config <NET-7> SKIP
SKIP Configuration
SKIP Config <NET-7>
SKIP Config <NET-7> add remote jimmy
SKIP Config <NET-5> set remote-name jimmy md5/udh
Peer's MD5/UDH Signature? 0011-2233-4455-6677-8899-AABB-CCDD-EEFF
SKIP Config <NET-7> set local-name jimmy local/udh 512
SKIP Config <NET-7> exit
Circuit Config <NET-7> exit
Config>protocol ip
Internet protocol user configuration
IP config>
Since the SKIP client in this example uses a dynamically-assigned IP address, add a dynamic IP address to the SKIP tunnel interface. To do so, use 0.0.0.n, where n is the interface number. Answer Yes to the prompt, "Is this interface a tunnel to a single SKIP PC or workstation." (See IP Addressing on Interfaces That Connect to a SunScreen SKIP for Windows Client.)
IP config>add address
Which net is this address for [0]? 7
New address [0.0.0.0]? 0.0.0.7
Is this interface a tunnel to a single SKIP PC or workstation(Yes or [No]): yes
Figure 7 VPN With Two Routers

Interface 0 is the Ethernet (LAN) interface.
Interface 1 is the physical WAN interface to the Internet. Each router uses a fixed address on this interface (48.10.2.8 and 38.1.5.4).
Interface 2 is a SKIP tunnel interface. Each router treats the SKIP tunnel interface as an unnumbered point-to-point link (shown as IP address 0.0.0.2).
Config>network 2
Circuit Configuration
Circuit Config <NET-2>
Circuit Config <NET-2> set destination
Assign destination address name [] central
Circuit Config <NET-2> iptnl
IP Tunnel Configuration
IP Tunnel <NET-2> set destination-address central
IP Tunnel Destination Address? 48.10.2.8
IP Tunnel <NET-2> exit
Note:
You do not have to explicitly add the destination Central at the IP Tunnel prompt because you already set the destination at the Circuit Config> prompt. If you configure the IP Tunnel before you set the destination, you must add the destination at the IP Tunnel prompt using the add remote command.
The MD5/UDH signature you enter in this step is the signature that Central displayed when you created a certificate on that router.
Circuit Config <NET-2> skip
SKIP Configuration
SKIP Config <NET-2> set remote-name central md5/udh
Peer's MD5/UDH Signature? 2233-4455-6677-8899-AABB-CCDD-EEFF
Note: In this case, you do not have to add the destination Central because you already added that destination in the IP Tunnel configuration. If you configure SKIP first, you must add the destination before you can configure it.
Answer No to the prompt "Is this interface a tunnel to a single SKIP PC or workstation" because a router at the far end of the tunnel is providing access for a LAN, not a single PC.
SKIP Config <NET-2> exit
Circuit Config <NET-2> exit
Config> protocol ip
IP config>add address
Which net is this address for [0]? 2
New address [0.0.0.0]? 0.0.0.2
Is this interface a tunnel to a single SKIP PC or workstation(Yes or [No]): no
IP config>add route
IP Destination? 128.185.10.0
Address Mask? 255.255.255.0
Via gateway at? 0.0.0.2
Perimeter Networks
As shown in Figure 8, large networks are sometimes segregated into two segments, a perimeter network of public servers and an interior network of protected hosts.
Figure 8 Perimeter Network

Figure 9 VPN Router as External Router

However, this configuration is not optimal because the VPN router is also the first line of defense for the organization's network. If an external attacker compromises this router, the attacker could see traffic flowing from the VPN router to stations in the perimeter and interior networks. Since this traffic is not encrypted, the attacker can see the traffic without cracking SKIP's encryption.
Interior VPN Router
Figure 10 shows a similar topology, except the interior router is the VPN router. This solution is superior to VPN running on the exterior router because traffic within the perimeter network, which is the network most susceptible to attack, is encrypted. Sensitive data never leaves the interior network without being encrypted. Even if the exterior router is compromised, SKIP encryption and authentication protects data that originates from the interior network.
Figure 10 VPN Router as Interior Router

The exterior router can run routing protocols such as BGP (Border Gateway Protocol) and provide the first line of packet filtering defense.
The interior router can encrypt and authenticate VPN packets.
Configure the exterior router to ignore all routing table updates that arrive from inside the organization. Just configure one static route on the exterior router that directs all traffic to the subnet(s) behind the interior router.
Configure the interior router to not export any IP Tunnel routes to the perimeter network. If you do this, you also need to configure one static route on the exterior router that directs all traffic to the subnet(s) behind the interior router.
The interior router must learn routes to the subnets over encrypted tunnels so that stations on the internal network can reach the remote VPN subnets. You can add these routes as static routes on the interior router, or the VPN router can use RIP or OSPF to advertise the subnets it can reach. If the VPN router advertises routes, you must configure the exterior router to ignore those advertisements.
Figure 11 Single-Interface VPN Router

Firewall Configuration
If you are using SKIP and you have a firewall that protects your network, you need to allow SKIP traffic through the firewall. See Creating Openings in a Firewall for SKIP Traffic.