[strongSwan] Simple IPsec host-host test

H Yavari hyavari at rocketmail.com
Thu May 27 19:20:21 CEST 2021


Hi to all,
I did a simple configuration based on test samples for two ec2 on AWS, but nothing happens between the two machines. What I am missing?
(10.0.0.30) Sun <=======> Moon (10.0.0.20)
connections {
   host-host {      remote_addrs = 10.0.0.20
      local {         auth = psk         id = sun.strongswan.org      }      remote {         auth = psk         id = moon.strongswan.org      }      children {         host-host {                start_action = trap         }      }   }}secrets {   ike-1 {      id-moon = moon.strongswan.org      id-sun = sun.strongswan.org      secret = 0sv+NkxY9LLZvwj4q   }}

------------


connections {
   host-host {      remote_addrs = 10.0.0.30
      local {         auth = psk         id = moon.strongswan.org      }      remote {         auth = psk         id = sun.strongswan.org      }      children {         host-host {                start_action = start         }      }   }}
secrets {   ike-1 {      id-1 = moon.strongswan.org      secret = 0x45a30759df97dc26a15b88ff   }   ike-2 {      id-2 = sun.strongswan.org      secret = "This is a strong password"   }   ike-3 {      id-3a = moon.strongswan.org      id-3b = sun.strongswan.org      secret = 0sv+NkxY9LLZvwj4q   }   ike-4 {      secret = 'My "home" is my "castle"!'   }   ike-5 {     id-5 = 10.0.0.20     secret = "Andi's home"   }}

EC2 : DebianVersion: 5.7.2
Thanks.
BRHoss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20210527/4bda495f/attachment-0001.html>


More information about the Users mailing list