Skip to content

Instantly share code, notes, and snippets.

Avatar

Alan Hinchliff hinchliff

View GitHub Profile
@stefancocora
stefancocora / vpn-openconnect-connect-to-cisco-anyconnect.md
Created Sep 25, 2017
Split tunneling with openconnect - A guide on how to use openconnect to establish a vpn connection to an enterprise cisco anyconnect vpn endpoint with client side routing.
View vpn-openconnect-connect-to-cisco-anyconnect.md

Introduction

The purpose of this short howto is to show you how to:

  • use openconnect [1] to connect to an enterprise cisco anyconnect endpoint
  • whilst minimizing the amount of traffic that your route through the vpn connection

Usually VPN administrators will puth the default route to the users, so that all user traffic is routed through the vpn connection. This is to address the various security concerns around compromised user computers bridging external internet traffic into the secure VPN network.

While the VPN administrator can push routes to the clients, the client can ignore these default routes and establish client side routing so that only the required A.B.C.D/E network is routed through the VPN. All other traffic will still use the clients default route and default outbound internet connection.