Cisco AnyConnect 客户端默认地址修改技巧
Cisco AnyConnect 修改默認鏈接地址
Change Local Policy Parameters Manually
Step 1?Retrieve a copy of the AnyConnect Local Policy file (AnyConnectLocalPolicy.xml) from a client installation.
Table 1. Operating System and AnyConnect Local Policy File Installation Path Operating System
|Operating System |Installation Path | ---|---|--- |Windows |C:\ProgramData\Cisco\Cisco AnyConnect Secure Mobility Client | |Linux |/opt/cisco/anyconnect | |macOS |/opt/cisco/anyconnect |Step 2?Edit the parameter settings. You can either edit the AnyConnectLocalPolicy file manually, or use the VPN Local Policy editor, which is distributed with the AnyConnect Profile Editor installer.
Step 3?Save the file as AnyConnectLocalPolicy.xml and deploy the file to remote computers using a corporate software deployment system.
Step 4?Reboot the remote computers so that the changes to the local policy file take effect.
Cisco AnyConnect Secure Mobility Client Administrator Guide, Release 4.0 - The AnyConnect Profile Editor [Cisco AnyConnect Secure Mobility Client] - Cisco
macOS
注意修改中文備注
vim /opt/cisco/anyconnect/profile/Profile.xml
<?xml version="1.0" encoding="UTF-8"?> <AnyConnectProfile xmlns="http://schemas.xmlsoap.org/encoding/"> <ServerList> <HostEntry><User> 用戶名稱 </User><HostName> 自定義顯示名稱 </HostName><HostAddress> 服務器地址 </HostAddress></HostEntry><HostEntry><User> 用戶名稱 </User><HostName> 自定義顯示名稱 </HostName><HostAddress> 服務器地址 </HostAddress></HostEntry> </ServerList> </AnyConnectProfile>Windows
注意修改中文備注
C:\Users\你的用戶名\AppData\Local\Cisco\Cisco AnyConnect Secure Mobility Client 目錄下的?preferences.xml?文件
比如
C:\Users\wangao\AppData\Local\Cisco\Cisco AnyConnect Secure Mobility Client
<?xml version="1.0" encoding="UTF-8"?> <AnyConnectPreferences> <DefaultUser> 默認用戶名 </DefaultUser> <DefaultSecondUser/> <ClientCertificateThumbprint/> <ServerCertificateThumbprint/> <DefaultHostName> 默認 VPN 地址 </DefaultHostName> <DefaultHostAddress/> <DefaultGroup> 默認組 </DefaultGroup> <ProxyHost/> <ProxyPort/> <SDITokenType/> <ControllablePreferences> <EnableAutomaticServerSelection>false</EnableAutomaticServerSelection> <LocalLanAccess>false</LocalLanAccess> <BlockUntrustedServers>false</BlockUntrustedServers> </ControllablePreferences> </AnyConnectPreferences>總結
以上是生活随笔為你收集整理的Cisco AnyConnect 客户端默认地址修改技巧的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 迎接我国第一款GNU操作系统的诞生
- 下一篇: 扫码登录基本流程