Archive

Archive for July, 2014

Living with Cisco Anyconnect on OSX

July 22nd, 2014 2 comments

Took me a bit to figure this out, but I needed to override the DNS settings forced upon me by the Cisco Anyconnect client. Unfortunately, $WORK is moving away from the IPSEC VPN in favor of the SSL VPN, so the native Mac client (where I could set DNS servers by hand in advanced settings) no longer works.

To override the settings handed down, I made use of the scutil command and crafted a short script to update the settings. I’ll probably expand the script to actually launch Anyconnect and wait for the tunnel to come up and apply the settings to make things easier on me, but in the meantime here’s the relevant bits.


#!/bin/sh

sudo scutil <