41 lines
785 B
Plaintext
41 lines
785 B
Plaintext
config setup
|
|
#charondebug="all"
|
|
#uniqueids=yes
|
|
#strictcrlpolicy=yes
|
|
cachecrls=yes
|
|
|
|
#ca ca-wit #define alternative CRL distribution point
|
|
# cacert=ca-wit.crt
|
|
# crluri=ca-wit.crl
|
|
# auto=add
|
|
|
|
conn %default
|
|
mobike=no
|
|
keyingtries=%forever
|
|
dpdtimeout=10
|
|
dpddelay=3
|
|
dpdaction=restart
|
|
type=transport
|
|
keyexchange=ikev1
|
|
ike=aes128-sha1-modp2048!
|
|
esp=aes128-sha1-modp2048!
|
|
leftcert=FQHOSTNAME.crt
|
|
leftid="C=US, O=Wit, CN=FQHOSTNAME"
|
|
rightid="C=US, O=Wit, CN=*"
|
|
auto=route
|
|
|
|
|
|
conn loopback4
|
|
leftsourceip=%config4
|
|
leftsubnet=LOOPBACKv4
|
|
rightsubnet=IPSEC_IPV4_SUBNETS
|
|
right=%any4
|
|
|
|
|
|
conn loopback6
|
|
leftsourceip=%config6
|
|
leftsubnet=LOOPBACKv6
|
|
rightsubnet=IPSEC_IPV6_SUBNETS
|
|
right=%any6
|
|
|