Split Tunneling

Posted: January 13, 2010 in Rethink Remote Access

Confused about split tunneling—What is it?  Is it secure?  Is it recommended?  We spoke with Rene Poot, senior solutions specialist at NCP engineering for his opinions on this.

Lets first define split tunneling—

Let’s take a typical Windows machine, and place it in a home office environment.  In this home office environment, the user also accesses resources on his/her home network, such as a network storage device or another machine in his local network.  There will be a router present that performs firewall functions and network address translation, and provides Internet connectivity for all the machines within this home network.

When the user wants to access something on his local network, by default the Windows IP stack will look to find the shortest route to this resource.  As it is something local, it will send it to the local network interface and send the request to its local LAN.  If it is a destination that is unknown, it is sent to the so-called default gateway, which would typically be this home network’s router, which then hides the internal IP address of this machine, and routes the request out to the Internet, as though it’s coming from the router/firewall.  The responses then come back to this router who in turn then translates it back and sends it back to this Windows machine.

Now let’s introduce VPN into the picture—

Typically the user wants to connect to his corporate office in a secure manner, and so has VPN.  With ‘Split Tunneling‘ enabled, the user can sit at his machine at home, and all traffic destined for the secured corporate network is directed via the tunnel.  All other traffic is either split off to the local default gateway, or to the local resources directly.  Basically it’s just a ‘junction’ or an ‘access list’ where what needs to be directed.  This can either, depending on the VPN gateway used, be pushed to the client, or the user can define this manually on the client.

Requests for let’s say a public Internet website expedia.com is then examined, and compared to the ‘split tunneling’ list.  This is a list of all the hosts and/or subnets that are to be diverted through the tunnel.  Destinations not on this list will be directed to the default gateway.  In this example, it’s unlikely that expedia.com is on this list, and so is sent to the default gateway (the router/firewall at home and out on to the Internet).

If however, the user wants to access a resource on the corporate network, they will do so, and the destination will match a destination that’s listed in the Split Tunneling ‘list’, and so it’s directed through the tunnel, and will emerge on the VPN gateway and then on to the corporate network.

Traffic for the local shared resource will simply go directly to that device on the local network and everything’s fine.

Now, it could be the case that the administrator does NOT want this to be so ‘open’.

At the corporate side, they’ve installed a firewall and locked and bolted everything down, out of fear or any accidental data leakage (i.e. via IM or access to popular websites, or whatever).  Users on the corporate network are not permitted to be looking at holiday booking sites such as expedia.com and so this is blocked by the firewall.  One is permitted only to use the company resources for corporate use and in corporate situations.  Browsing other websites are not permitted, because the user cannot be trusted he/she won’t access some nefarious website or whatever.

Now if this user is permitted to take this laptop home, and no other steps are taken, all bets are off.  The firewall rules and such that the administrator so carefully has set up to protect his corporate network no longer apply, because the machine is now at the mercy of the firewall settings of the local router/firewall at home, which will not reflect the same precautions the administrator has put into the corporate firewall.  One could then access the Internet and do whatever one pleases.

The administrator can prevent this by ensuring the a VPN is required, and ‘lock the user into the tunnel’, which is ‘split tunneling’ but then with a wildcard for all, which effectively makes ALL traffic that emerges from this machine be directed through the tunnel, effectively making the VPN gateway at the corporate side the default gateway of this machine at home.  The corporate firewall then is still protecting this remote resource at home.

One can still access local resources (unless this too is blocked — an additional option within the client software) but any requests to the aforementioned expedia.com will be directed through the VPN tunnel, and then the VPN gateway will forward it to its default gateway, and that then is the corporate firewall, which then drops this request.  This allows the administrator to leverage the control he has over the machine’s access at all time; basically extending the corporate policies to the machine regardless of where it is.

I mentioned that local resources (i.e. shared resources or network printers) are still accessible; this is the case by default, but this too can be locked out; so even that must pass through the VPN tunnel first.

“Locking the user into the tunnel” or “full network enclosure mode” will put more strain on the bandwidth at the corporate side, as EVERYTHING from ALL the remote users that are locked into the tunnel must pass through the central VPN gateway and then the central corporate firewall; so that could have a performance impact.

Follow this conversation @VPNHaus

Comments
  1. […] Categories: Troubleshoot Last month, we wrote about Rene Poot’s thoughts on split tunneling.  Here is the second installment from that conversation: Spilt tunneling can also be used in […]

  2. […] Check whether they support native IPv6 end-to-end, for a full backbone if possible, as opposed to ‘split tunneling’ – we feel the latter is not a good idea and have concerns about that approach. Some ISPs are […]

  3. […] recently spoke to NCP engineering’s Swen Baumann about split tunneling and its role in IPv6, and how to best deploy it when working […]

  4. […] take a closer look into how split tunneling works. In VPNs, there are basically two types of virtual tunnels that enable secure data transmission: full tunnels and split tunnels. In full tunnel mode, a remote […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s