40-vlan
This commit is contained in:
		
							
								
								
									
										23
									
								
								sio2/sisr/40-vlan/ipsec.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								sio2/sisr/40-vlan/ipsec.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
config setup
 | 
			
		||||
        charondebug="all"
 | 
			
		||||
        uniqueids=yes
 | 
			
		||||
        strictcrlpolicy=no
 | 
			
		||||
conn %default
 | 
			
		||||
conn tunnel #
 | 
			
		||||
        left=10.0.0.2
 | 
			
		||||
        leftsubnet=192.168.2.0/24
 | 
			
		||||
        right=10.0.0.1
 | 
			
		||||
        rightsubnet=192.168.1.0/24
 | 
			
		||||
        ike=aes256-sha2_256-modp1024!
 | 
			
		||||
        esp=aes256-sha2_256!
 | 
			
		||||
        keyingtries=0
 | 
			
		||||
        ikelifetime=1h
 | 
			
		||||
        lifetime=8h
 | 
			
		||||
        dpddelay=30
 | 
			
		||||
        dpdtimeout=120
 | 
			
		||||
        dpdaction=restart
 | 
			
		||||
        authby=secret
 | 
			
		||||
        auto=start
 | 
			
		||||
        keyexchange=ikev2
 | 
			
		||||
        type=tunnel
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								sio2/sisr/40-vlan/ipsec.secrets
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								sio2/sisr/40-vlan/ipsec.secrets
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
# This file holds shared secrets or RSA private keys for authentication.
 | 
			
		||||
 | 
			
		||||
# RSA private key for this host, authenticating it to any other host
 | 
			
		||||
# which knows the public part.
 | 
			
		||||
10.0.0.2 10.0.0.1 : PSK 'root'
 | 
			
		||||
		Reference in New Issue
	
	Block a user