Added swanctl/ip-pool-db scenario
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# /etc/strongswan.conf - strongSwan configuration file
|
||||
|
||||
swanctl {
|
||||
load = pem pkcs1 x509 revocation constraints pubkey openssl random
|
||||
}
|
||||
|
||||
charon {
|
||||
dh_exponent_ansi_x9_42 = no
|
||||
|
||||
load = sha1 sha2 md5 aes des hmac pem pkcs1 x509 revocation constraints pubkey gmp random nonce curl kernel-netlink socket-default resolve updown vici
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
connections {
|
||||
|
||||
home {
|
||||
local_addrs = 192.168.0.200
|
||||
remote_addrs = 192.168.0.1
|
||||
vips = 0.0.0.0
|
||||
|
||||
local {
|
||||
auth = pubkey
|
||||
certs = daveCert.pem
|
||||
id = [email protected]
|
||||
}
|
||||
remote {
|
||||
auth = pubkey
|
||||
id = moon.strongswan.org
|
||||
}
|
||||
children {
|
||||
home {
|
||||
remote_ts = 10.1.0.0/16
|
||||
|
||||
start_action = none
|
||||
updown = /usr/local/libexec/ipsec/_updown iptables
|
||||
rekey_time = 10m
|
||||
esp_proposals = aes128gcm128-modp2048
|
||||
}
|
||||
}
|
||||
|
||||
version = 2
|
||||
reauth_time = 60m
|
||||
rekey_time = 20m
|
||||
proposals = aes128-sha256-modp2048
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user