mirror of
				https://github.com/bjdgyc/anylink.git
				synced 2025-11-04 11:06:22 +08:00 
			
		
		
		
	修改profile.xml自动获取hash
This commit is contained in:
		
							
								
								
									
										34
									
								
								server/conf/profile.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								server/conf/profile.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,34 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<AnyConnectProfile xmlns="http://schemas.xmlsoap.org/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 | 
			
		||||
                   xsi:schemaLocation="http://schemas.xmlsoap.org/encoding/ AnyConnectProfile.xsd">
 | 
			
		||||
 | 
			
		||||
    <ClientInitialization>
 | 
			
		||||
        <UseStartBeforeLogon UserControllable="false">false</UseStartBeforeLogon>
 | 
			
		||||
        <StrictCertificateTrust>false</StrictCertificateTrust>
 | 
			
		||||
        <RestrictPreferenceCaching>false</RestrictPreferenceCaching>
 | 
			
		||||
        <RestrictTunnelProtocols>IPSec</RestrictTunnelProtocols>
 | 
			
		||||
        <BypassDownloader>true</BypassDownloader>
 | 
			
		||||
        <WindowsVPNEstablishment>AllowRemoteUsers</WindowsVPNEstablishment>
 | 
			
		||||
        <LinuxVPNEstablishment>AllowRemoteUsers</LinuxVPNEstablishment>
 | 
			
		||||
        <CertEnrollmentPin>pinAllowed</CertEnrollmentPin>
 | 
			
		||||
        <CertificateMatch>
 | 
			
		||||
            <KeyUsage>
 | 
			
		||||
                <MatchKey>Digital_Signature</MatchKey>
 | 
			
		||||
            </KeyUsage>
 | 
			
		||||
            <ExtendedKeyUsage>
 | 
			
		||||
                <ExtendedMatchKey>ClientAuth</ExtendedMatchKey>
 | 
			
		||||
            </ExtendedKeyUsage>
 | 
			
		||||
        </CertificateMatch>
 | 
			
		||||
 | 
			
		||||
        <BackupServerList>
 | 
			
		||||
            <HostAddress>localhost</HostAddress>
 | 
			
		||||
        </BackupServerList>
 | 
			
		||||
    </ClientInitialization>
 | 
			
		||||
 | 
			
		||||
    <ServerList>
 | 
			
		||||
        <HostEntry>
 | 
			
		||||
            <HostName>VPN Server</HostName>
 | 
			
		||||
            <HostAddress>localhost</HostAddress>
 | 
			
		||||
        </HostEntry>
 | 
			
		||||
    </ServerList>
 | 
			
		||||
</AnyConnectProfile>
 | 
			
		||||
		Reference in New Issue
	
	Block a user