Using IPsec VPN for UT to UT not working
I have configured IPsec VPN Tunnels on 2 UT servers and can't get them to connect. Both ends have a Static public IP.
Both ISP's provide a router so both UT servers are behind NAT. On both ends I have DMZ on the ISP's routers to the UT servers so I think that should take care of my port forwarding but not sure if there is anything else to it.
This is the error I get on both ends "We cannot identify ourselves with either end of this connection"
Here is the full log from one of the UT servers.
Code:
Jun 14 16:25:46 untangle ipsec__plutorun: Starting Pluto subsystem...
Jun 14 16:25:46 untangle pluto[30405]: Starting Pluto (Openswan Version 2.6.28; Vendor ID OEQ{O\177nez{CQ) pid:30405
Jun 14 16:25:46 untangle pluto[30405]: SAref support [disabled]: Protocol not available
Jun 14 16:25:46 untangle pluto[30405]: SAbind support [enabled]
Jun 14 16:25:46 untangle pluto[30405]: Setting NAT-Traversal port-4500 floating to on
Jun 14 16:25:46 untangle pluto[30405]: port floating activation criteria nat_t=1/port_float=1
Jun 14 16:25:46 untangle pluto[30405]: NAT-Traversal support [enabled]
Jun 14 16:25:46 untangle pluto[30405]: using /dev/urandom as source of random entropy
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_register_enc(): Activating OAKLEY_TWOFISH_CBC_SSH: Ok (ret=0)
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_register_enc(): Activating OAKLEY_TWOFISH_CBC: Ok (ret=0)
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_register_enc(): Activating OAKLEY_SERPENT_CBC: Ok (ret=0)
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_register_enc(): Activating OAKLEY_AES_CBC: Ok (ret=0)
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_register_enc(): Activating OAKLEY_BLOWFISH_CBC: Ok (ret=0)
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_register_hash(): Activating OAKLEY_SHA2_512: Ok (ret=0)
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_register_hash(): Activating OAKLEY_SHA2_256: Ok (ret=0)
Jun 14 16:25:46 untangle pluto[30405]: no helpers will be started, all cryptographic operations will be done inline
Jun 14 16:25:46 untangle pluto[30405]: Using Linux 2.6 IPsec interface code on 2.6.32-5-untangle-amd64 (experimental code)
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_register_enc(): Activating aes_ccm_8: Ok (ret=0)
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_add(): ERROR: Algorithm already exists
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_register_enc(): Activating aes_ccm_12: FAILED (ret=-17)
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_add(): ERROR: Algorithm already exists
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_register_enc(): Activating aes_ccm_16: FAILED (ret=-17)
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_add(): ERROR: Algorithm already exists
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_register_enc(): Activating aes_gcm_8: FAILED (ret=-17)
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_add(): ERROR: Algorithm already exists
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_register_enc(): Activating aes_gcm_12: FAILED (ret=-17)
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_add(): ERROR: Algorithm already exists
Jun 14 16:25:46 untangle pluto[30405]: ike_alg_register_enc(): Activating aes_gcm_16: FAILED (ret=-17)
Jun 14 16:25:46 untangle pluto[30405]: myid malformed: empty string ""
Jun 14 16:25:46 untangle pluto[30405]: Changed path to directory '/etc/ipsec.d/cacerts'
Jun 14 16:25:46 untangle pluto[30405]: Changed path to directory '/etc/ipsec.d/aacerts'
Jun 14 16:25:46 untangle pluto[30405]: Changed path to directory '/etc/ipsec.d/ocspcerts'
Jun 14 16:25:46 untangle pluto[30405]: Changing to directory '/etc/ipsec.d/crls'
Jun 14 16:25:46 untangle pluto[30405]: Warning: empty directory
Jun 14 16:25:46 untangle pluto[30405]: added connection description "UT0_Altona"
Jun 14 16:25:46 untangle pluto[30405]: listening for IKE messages
Jun 14 16:25:46 untangle pluto[30405]: NAT-Traversal: Trying new style NAT-T
Jun 14 16:25:46 untangle pluto[30405]: NAT-Traversal: ESPINUDP(1) setup failed for new style NAT-T family IPv4 (errno=19)
Jun 14 16:25:46 untangle pluto[30405]: NAT-Traversal: Trying old style NAT-T
Jun 14 16:25:46 untangle pluto[30405]: adding interface tun0/tun0 172.16.135.1:500
Jun 14 16:25:46 untangle pluto[30405]: adding interface tun0/tun0 172.16.135.1:4500
Jun 14 16:25:46 untangle pluto[30405]: adding interface utun/utun 192.0.2.42:500
Jun 14 16:25:46 untangle pluto[30405]: adding interface utun/utun 192.0.2.42:4500
Jun 14 16:25:46 untangle pluto[30405]: adding interface eth0/eth0 192.168.2.11:500
Jun 14 16:25:46 untangle pluto[30405]: adding interface eth0/eth0 192.168.2.11:4500
Jun 14 16:25:46 untangle pluto[30405]: adding interface eth1/eth1 192.168.145.1:500
Jun 14 16:25:46 untangle pluto[30405]: adding interface eth1/eth1 192.168.145.1:4500
Jun 14 16:25:46 untangle pluto[30405]: adding interface lo/lo 127.0.0.1:500
Jun 14 16:25:46 untangle pluto[30405]: adding interface lo/lo 127.0.0.1:4500
Jun 14 16:25:46 untangle pluto[30405]: adding interface lo/lo ::1:500
Jun 14 16:25:46 untangle pluto[30405]: loading secrets from "/etc/ipsec.secrets"
Jun 14 16:25:46 untangle pluto[30405]: "UT0_Altona": We cannot identify ourselves with either end of this connection.