PRE-TEST moon# echo 1 > /proc/sys/net/ipv4/ip_forward carol# ipsec start Starting strongSwan 4.2.17 IPsec [starter]... moon# ipsec start Starting strongSwan 4.2.17 IPsec [starter]... carol# sleep 2 carol# ipsec up home 002 "home" #1: initiating Main Mode 104 "home" #1: STATE_MAIN_I1: initiate 003 "home" #1: ignoring Vendor ID payload [strongSwan 4.2.17] 003 "home" #1: received Vendor ID payload [XAUTH] 003 "home" #1: received Vendor ID payload [Dead Peer Detection] 106 "home" #1: STATE_MAIN_I2: sent MI2, expecting MR2 002 "home" #1: we have a cert and are sending it upon request 108 "home" #1: STATE_MAIN_I3: sent MI3, expecting MR3 002 "home" #1: Peer ID is ID_FQDN: '@moon.strongswan.org' 002 "home" #1: crl not found 002 "home" #1: certificate status unknown 002 "home" #1: ISAKMP SA established 004 "home" #1: STATE_MAIN_I4: ISAKMP SA established 002 "home" #2: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP {using isakmp#1} 112 "home" #2: STATE_QUICK_I1: initiate 002 "home" #2: sent QI2, IPsec SA established {ESP=>0xf0ba9c8b <0x44526d99} 004 "home" #2: STATE_QUICK_I2: sent QI2, IPsec SA established {ESP=>0xf0ba9c8b <0x44526d99} TEST carol# ipsec status | grep 'home.*STATE_QUICK_I2.*IPsec SA established' [YES] 000 #2: "home" STATE_QUICK_I2 (sent QI2, IPsec SA established); EVENT_SA_REPLACE in 852s; newest IPSEC; eroute owner moon# ipsec status | grep 'rw.*STATE_QUICK_R2.*IPsec SA established' [YES] 000 #2: "rw"[1] 192.168.0.100 STATE_QUICK_R2 (IPsec SA established); EVENT_SA_REPLACE in 1110s; newest IPSEC; eroute owner carol# ipsec statusall | grep 'IKE algorithm newest: TWOFISH_CBC_256-SHA2_512-MODP4096' [YES] 000 "home": IKE algorithm newest: TWOFISH_CBC_256-SHA2_512-MODP4096 moon# ipsec statusall | grep 'IKE algorithm newest: TWOFISH_CBC_256-SHA2_512-MODP4096' [YES] 000 "rw"[1]: IKE algorithm newest: TWOFISH_CBC_256-SHA2_512-MODP4096 carol# ipsec statusall | grep 'ESP algorithm newest: TWOFISH_256-HMAC_SHA2_256' [YES] 000 "home": ESP algorithm newest: TWOFISH_256-HMAC_SHA2_256; pfsgroup= moon# ipsec statusall | grep 'ESP algorithm newest: TWOFISH_256-HMAC_SHA2_256' [YES] 000 "rw"[1]: ESP algorithm newest: TWOFISH_256-HMAC_SHA2_256; pfsgroup= carol# ip xfrm state | grep 'enc cbc(twofish)' [YES] enc cbc(twofish) 0xdb7dcc51ce61299ff8a133a12cec293167fa0dc684967c24ef97c21f23fdec7c enc cbc(twofish) 0x0835e4666a86935726dd165e21e764f2ef97cbe9575da31d3b8c07378b9b3faf moon# ip xfrm state | grep 'enc cbc(twofish)' [YES] enc cbc(twofish) 0x0835e4666a86935726dd165e21e764f2ef97cbe9575da31d3b8c07378b9b3faf enc cbc(twofish) 0xdb7dcc51ce61299ff8a133a12cec293167fa0dc684967c24ef97c21f23fdec7c carol# ping -c 1 10.1.0.10 | grep '64 bytes from 10.1.0.10: icmp_seq=1' [YES] 64 bytes from 10.1.0.10: icmp_seq=1 ttl=63 time=1.04 ms POST-TEST moon# ipsec stop Stopping strongSwan IPsec... carol# ipsec stop Stopping strongSwan IPsec...