24 lines
519 B
Plaintext
24 lines
519 B
Plaintext
config setup
|
|
charondebug="all"
|
|
uniqueids=yes
|
|
strictcrlpolicy=no
|
|
conn %default
|
|
conn tunnel #
|
|
left=10.0.0.1
|
|
leftsubnet=192.168.1.0/24
|
|
right=10.0.0.2
|
|
rightsubnet=192.168.2.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
|
|
|