Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Anyone ever succeded to configure IPSec IKE connection to Ubuntu Host ?

Anyone ever succeded to configure IPSec IKE connection to Ubuntu Host ?

 

I'm trying to create a "transport" IPSec connection to my VM in the cloud. I can confirm that IPSec is working because I have connected 2 VMs in different Data Centers. I would like to connect my XG to one of them to simplify access to MySQL and other services which are not exposed to the Internet.

 

But... XG always complain about proposals.

I'm using DefaultHeadOffice Policy and I have the following ipsec.conf file:

 

conn office-to-cloud
      auth=esp
      authby=secret
      auto=start
      left=cloud-server-ip
      right=ip-of-my-xg
      type=transport
      pfs=yes
      keyexchange=ikev2
      dpdaction=clear
      dpddelay=300s
      ike=aes128-sha1-modp1024,aes128-sha1-modp1536,aes128-sha1-modp2048,aes128-sha256-ecp256,aes128-sha256-modp1024,aes128-sha256-modp1536,aes128-sha256-modp2048,aes256-aes128-sha256-sha1-modp2048-modp4096-modp1024,aes256-sha1-modp1024,aes256-sha256-modp1024,aes256-sha256-modp1536,aes256-sha256-modp2048,aes256-sha256-modp4096,aes256-sha384-ecp384,aes256-sha384-modp1024,aes256-sha384-modp1536,aes256-sha384-modp2048,aes256-sha384-modp4096,aes256gcm16-aes256gcm12-aes128gcm16-aes128gcm12-sha256-sha1-modp2048-modp4096-modp1024,3des-sha1-modp1024!
      esp=aes128-aes256-sha1-sha256-modp2048-modp4096-modp1024,aes128-sha1,aes128-sha1-modp1024,aes128-sha1-modp1536,aes128-sha1-modp2048,aes128-sha256,aes128-sha256-ecp256,aes128-sha256-modp1024,aes128-sha256-modp1536,aes128-sha256-modp2048,aes128gcm12-aes128gcm16-aes256gcm12-aes256gcm16-modp2048-modp4096-modp1024,aes128gcm16,aes128gcm16-ecp256,aes256-sha1,aes256-sha256,aes256-sha256-modp1024,aes256-sha256-modp1536,aes256-sha256-modp2048,aes256-sha256-modp4096,aes256-sha384,aes256-sha384-ecp384,aes256-sha384-modp1024,aes256-sha384-modp1536,aes256-sha384-modp2048,aes256-sha384-modp4096,aes256gcm16,aes256gcm16-ecp384,3des-sha1!

Any clues ?



This thread was automatically locked due to age.
Parents
  • Ok, I will try to answer to myself :-)

    I was unable to configure "host-2-host".

    I have created a "Remote Access" configuration and changed StrongSwan's configuration to the one below:

    conn myconnection

      authby=secret

      auto=start

      left=vm-ip

      leftsubnet=vm-ip/32

      right=my-firewall-ip

      rightsubnet=my-network-mask

      type=tunnel

      ike=aes128-md5-modp1024,aes128-sha1-modp1024,3des-md5-modp1024

      esp=aes128-md5-modp1024,aes128-sha1-modp1024,3des-md5-modp1024

      keyexchange=ikev1

      dpdaction=clear

      dpddelay=300s

      compress=yes

    I wonder if IKEv2 would also work but it is too late to try it out.

     

    Hope this may be useful for someone.

  • So i tried... It looks like XG does not support IKEv2 ? Really?

Reply Children