|
Tunnel TypesThere are three types of tunnels:
If two networks want to communicate and not be subject to the packets being hijacked while en route, tunnels can be established between the networks. This assumes, of course, that two networks want to communicate safely and are both protected by firewalls. The tunnels can be started either inside or outside of a firewall. When a tunnel is started inside a firewall, then the packets entering or leaving the tunnel do not need to pass through the gateway and are not subject to the firewall rules that the gateway is configured to follow. If a tunnel is started outside the firewall, then packets entering or leaving the tunnel must pass through the gateway. They are then subjected to the firewall rules before passing through the gateway. The Shiva VPN products implement tunnels using authentication methods and encryption techniques. Since the traffic passing between two Shiva VPN components is encrypted, it is as if the data is traveling in a tunnel. For more information, see the following topics: Full Access Tunnel Example One Limited Access Tunnel Example One Full Access Tunnel Example Two Limited Access Tunnel Example Two Site-to-Site TunnelsA site-to-site tunnel is defined between two devices with fixed IP addresses. A fixed IP address implies that the device is always present and the Shiva VPN component on the other end of the tunnel can initiate communication with the fixed device. This behavior can be overridden on one end of the tunnel, if desired. A site-to-site tunnel is usually defined when the tunnel is between two networks and both ends of the tunnel are available through LanRover VPN Gateway devices. A site-to-site tunnel is fully defined with the following components:
The IP address of the opposing LanRover VPN Gateway highlights the fact that a tunnel cannot exist without a Shiva VPN component on the other end. A secure profile defines how the establishment of the tunnel should be authenticated and how the communication should be secured. The mode of the tunnel specifies where the tunnel terminates. Finally, the IP route specifies which packets should enter the tunnel. The following example illustrates a secure tunnel, which secures all communication between two networks. Click graphic to enlarge the image. A Secure Tunnel
Note that the tunnel has to be defined on both LanRover VPN Gateway devices. Therefore, when you specify the opposing VPN Gateway on device A, point at device B. Also, define the same secure profile on both VPN Gateways. The tunnel mode, however, can be different on each VPN Gateway. Finally, the route statements tell the VPN Gateways which packets should enter the tunnel. Single-User TunnelsA single-user tunnel is defined between a fixed device and one with no fixed IP address, which implies that the device on the other end of the tunnel is not always present or may change its address. A single-user tunnel is usually defined on a LanRover VPN Gateway when the other end of the tunnel is a Shiva VPN Client. You can assign a known IP address to the remote device using network address translation (NAT). This address is known as the Client IP. When a tunnel has been established with the remote device, all packets coming from the remote device will have their actual source address replaced with the Client IP address. Click graphic to enlarge the image. Network Address Translation A single-user tunnel is fully defined with the following components:
Identify the opposing Shiva VPN device by a user name instead of an IP address. The Secure Profile defines how the establishment of the tunnel is authenticated and how the communication is secured. The mode of the tunnel specifies where the tunnel terminates. The IP route is no longer required. Full Access Tunnel Example OneThe following table describes a tunnel that allows a remote user (called chris) full access to the red (trusted) network available through VPN Gateway A, while not allowing access to the network available through VPN Gateway B.
In the previous table, user chris is given complete access to the trusted network. Limited Access Tunnel Example OneThe following figure shows how to use a combination of a tunnel and a firewall rule to give a remote user limited access to the trusted network. Click graphic to enlarge the image. Source Address Change For example, to allow a remote user (called leslie) access to the Web Server available through VPN Gateway A while not allowing access to the rest of that network or to the network available through VPN Gateway B, a tunnel is defined for the user to the black (untrusted) side of the VPN Gateway and a firewall rule is created to allow the traffic from the black (untrusted) network to the red (trusted) network. In this case a Client IP is used to assign the remote user a known IP address on the red (trusted) network. This address is needed in order to identify the remote user in the firewall rule.
Firewall RuleThe following table describes the firewall rule for the previous example.
Multiuser TunnelsA multiuser tunnel is defined between a fixed device and a group of remote users, which implies that the devices on the other end of the tunnel are not always present or may change their addresses. A multiuser tunnel is usually defined on a LanRover VPN Gateway for the ease of administration, simplification of the overall configuration, and to limit the number of Shiva VPN Client users that can access the network through the VPN Gateway at any given time. Any member of the remote user group that attempts to connect through the tunnel when the preset number of other users are already connected is refused. This feature is useful for large organizations in that it allows them to prioritize access through the VPN Gateway by groups, thereby avoiding situations where important tunnel requests are refused because all 1024 available sessions are in use. Any remote device that connects successfully is given one of a preset group of IP addresses with which it appears on the network, accessible through the Gateway. Hence, all connections using multiuser tunnels use network address translation (NAT). A multiuser tunnel is fully defined with the following components:
The group of opposing Shiva VPN devices is now identified by a group name. The secure profile defines how the establishment of the tunnel should be authenticated and how the communication should be secured. The mode of the tunnel specifies where the tunnel terminates. The IP route is no longer required. Note: If the authentication method specified in the secure profile associated with a multiuser tunnel is a challenge phrase, the same challenge phrase must be given out to each member of the group. This is not recommended. Full Access Tunnel Example TwoThe following table shows a tunnel that allows a group (called audit) full access to the red (trusted) network available through VPN Gateway A, while not allowing access to the network available through VPN Gateway B. Note that a maximum of 30 members of the group are allowed to use the tunnel at once.
In the previous table, group audit is given complete access to the trusted network. Limited Access Tunnel Example TwoThe next table shows how to use a combination of a tunnel and a firewall rule to give a group limited access to the red (trusted) network. For example, to allow a group called sales access to the Web server available through VPN Gateway A while not allowing access to the rest of that network or to the network available through VPN Gateway B, a tunnel is defined for the group to the black side of the VPN Gateway and a firewall rule is created to allow the traffic from the black (untrusted) network to the red (trusted) network.
Firewall RuleThe firewall rule is explained in the following table.
Related InformationVirtual Private Networking (VPN) [ Top of Page... ] |