How to Change Default Host for Cisco AnyConnect on Mac

I had a post about how to change the default host for Cisco AnyConnnect on Windows. A user has asked me how to change this on Mac. I spent a few minutes to find this information. Here is how you change it:

  1. Open Terminal application.
  2. Type in the command at the Terminal window. This opens up TextEdit
    open –e ~/.anyconnect
  3. Find and edit the DefaultHost line in TextEdit so that it is set to the host of your choice
    <DefaultHost>vpn.mycompany.com</DefaultHost>
  4. Save the file under TextEdit.

The default host will be set to vpn.mycompany.com the next time you run Cisco AnyConnect.

anyconnect


This post may contain affiliated links. When you click on the link and purchase a product, we receive a small commision to keep us running. Thanks.