Fixing NFS disconnecting with Vagrant and VirtualBox on Mac OS

https://gist.github.com/johnkary/4962501

brew install openconnect
brew install tuntap

sudo cp -pR /usr/local/Cellar/tuntap/20111101/Library/Extensions/tap.kext /Library/Extensions/
sudo cp -pR /usr/local/Cellar/tuntap/20111101/Library/Extensions/tun.kext /Library/Extensions/
sudo chown -R root:wheel /Library/Extensions/tap.kext
sudo chown -R root:wheel /Library/Extensions/tun.kext
sudo touch /Library/Extensions/

sudo cp -pR /usr/local/Cellar/tuntap/20111101/tap /Library/StartupItems/
sudo chown -R root:wheel /Library/StartupItems/tap
sudo cp -pR /usr/local/Cellar/tuntap/20111101/tun /Library/StartupItems/
sudo chown -R root:wheel /Library/StartupItems/tun

sudo openconnect --no-cert-check -u username -b https://your.url.here

ps aux | grep openconnect
sudo kill xxxx

# /etc/sudoers
# username ALL= NOPASSWD: /usr/local/bin/openconnect