added ikev2/nat-two-rw-mark scenario
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# /etc/ipsec.conf - strongSwan IPsec configuration file
|
||||
|
||||
config setup
|
||||
crlcheckinterval=180
|
||||
strictcrlpolicy=no
|
||||
plutostart=no
|
||||
charondebug="knl 2"
|
||||
|
||||
conn %default
|
||||
ikelifetime=60m
|
||||
keylife=20m
|
||||
rekeymargin=3m
|
||||
keyingtries=1
|
||||
keyexchange=ikev2
|
||||
|
||||
conn alice
|
||||
[email protected]
|
||||
mark=10/0xffffffff
|
||||
also=sun
|
||||
auto=add
|
||||
|
||||
conn venus
|
||||
[email protected]
|
||||
mark=20 #0xffffffff is used by default
|
||||
also=sun
|
||||
auto=add
|
||||
|
||||
conn sun
|
||||
left=PH_IP_SUN
|
||||
leftcert=sunCert.pem
|
||||
[email protected]
|
||||
leftsubnet=10.2.0.0/16
|
||||
leftfirewall=yes
|
||||
right=%any
|
||||
rightsubnet=0.0.0.0/0
|
||||
@@ -0,0 +1,5 @@
|
||||
# /etc/strongswan.conf - strongSwan configuration file
|
||||
|
||||
charon {
|
||||
load = curl aes des sha1 sha2 md5 pem pkcs1 gmp random x509 hmac xcbc stroke kernel-netlink socket-default updown
|
||||
}
|
||||
Reference in New Issue
Block a user