testing: Migrate ikev2-stroke-bye scenarios to vici
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# /etc/strongswan.conf - strongSwan configuration file
|
||||
|
||||
charon {
|
||||
load = random nonce aes sha1 sha2 curve25519 hmac curl vici kernel-netlink socket-default updown
|
||||
syslog {
|
||||
daemon {
|
||||
knl = 2
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
connections {
|
||||
|
||||
dscp-be {
|
||||
local_addrs = PH_IP_MOON
|
||||
remote_addrs = PH_IP_SUN
|
||||
|
||||
local {
|
||||
auth = psk
|
||||
id = moon-be
|
||||
}
|
||||
remote {
|
||||
auth = psk
|
||||
id = sun-be
|
||||
}
|
||||
children {
|
||||
net-net {
|
||||
local_ts = 10.1.0.0/16
|
||||
remote_ts = 10.2.0.0/16
|
||||
|
||||
mark_in = 10
|
||||
mark_out = 10
|
||||
|
||||
updown = /usr/local/libexec/ipsec/_updown iptables
|
||||
esp_proposals = aes128gcm128-x25519
|
||||
}
|
||||
}
|
||||
version = 2
|
||||
mobike = no
|
||||
proposals = aes128-sha256-x25519
|
||||
}
|
||||
|
||||
dscp-ef : connections.dscp-be {
|
||||
local {
|
||||
id = moon-ef
|
||||
}
|
||||
remote {
|
||||
id = sun-ef
|
||||
}
|
||||
children {
|
||||
net-net {
|
||||
mark_in = 20
|
||||
mark_out = 20
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
secrets {
|
||||
ike {
|
||||
id-be = sun-be
|
||||
id-ef = sun-ef
|
||||
secret = 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
# /etc/strongswan.conf - strongSwan configuration file
|
||||
|
||||
charon {
|
||||
load = random nonce aes sha1 sha2 curve25519 hmac curl vici kernel-netlink socket-default updown
|
||||
multiple_authentication = no
|
||||
syslog {
|
||||
daemon {
|
||||
knl = 2
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
dscp-base {
|
||||
local_addrs = PH_IP_SUN
|
||||
remote_addrs = PH_IP_MOON
|
||||
|
||||
local {
|
||||
auth = psk
|
||||
}
|
||||
remote {
|
||||
auth = psk
|
||||
}
|
||||
children {
|
||||
net-net {
|
||||
local_ts = 10.2.0.0/16
|
||||
remote_ts = 10.1.0.0/16
|
||||
|
||||
updown = /usr/local/libexec/ipsec/_updown iptables
|
||||
esp_proposals = aes128gcm128-x25519
|
||||
}
|
||||
}
|
||||
version = 2
|
||||
mobike = no
|
||||
proposals = aes128-sha256-x25519
|
||||
}
|
||||
|
||||
connections {
|
||||
|
||||
dscp-be : dscp-base {
|
||||
local {
|
||||
id = sun-be
|
||||
}
|
||||
remote {
|
||||
id = moon-be
|
||||
}
|
||||
children {
|
||||
net-net {
|
||||
mark_in = 10
|
||||
mark_out = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dscp-ef : dscp-base {
|
||||
local {
|
||||
id = sun-ef
|
||||
}
|
||||
remote {
|
||||
id = moon-ef
|
||||
}
|
||||
children {
|
||||
net-net {
|
||||
mark_in = 20
|
||||
mark_out = 20
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
secrets {
|
||||
ike {
|
||||
id-be = moon-be
|
||||
id-ef = moon-ef
|
||||
secret = 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user