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:

If you’re thinking about purchasing a new GPU, we’d greatly appreciate it if you used our Amazon Associate links. The price you pay will be exactly the same, but Amazon provides us with a small commission for each purchase. It’s a simple way to support our site and helps us keep creating useful content for you. Recommended GPUs: RTX 5090, RTX 5080, and RTX 5070. #ad

  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

Be the first to comment

Leave a Reply