aes256-sha1, o se vuoi vederlo andare più veloce aes128-sha1, la configurazione non vuole accettarli.
Potrebbe essere dovuto dalla generazione dei certificati e chiavi,perche' quelli che uso ora li ho generati con la seconda guida , senza --san.
Potrei sostituirli.
aes128-sha1-modp1024 cosi lo prende:
dal mio smartphone,IKEv2 Certificate aes128-sha1-modp1024:
Sun Dec 1 18:43:14 2019 daemon.info syslog: 02[NET] received packet: from 37.160.110.212[40781] to ip[500] (336 bytes)
Sun Dec 1 18:43:14 2019 daemon.info syslog: 02[ENC] parsed IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) N(HASH_ALG) N(REDIR_SUP) ]
Sun Dec 1 18:43:14 2019 daemon.info syslog: 02[IKE] 37.160.110.212 is initiating an IKE_SA
Sun Dec 1 18:43:14 2019 authpriv.info syslog: 02[IKE] 37.160.110.212 is initiating an IKE_SA
Sun Dec 1 18:43:14 2019 daemon.info syslog: 02[IKE] remote host is behind NAT
Sun Dec 1 18:43:14 2019 daemon.info syslog: 02[IKE] sending cert request for "C=DE, O=xxx, CN=xxxx"
Sun Dec 1 18:43:14 2019 daemon.info syslog: 02[ENC] generating IKE_SA_INIT response 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) CERTREQ N(HASH_ALG) N(MULT_AUTH) ]
Sun Dec 1 18:43:14 2019 daemon.info syslog: 02[NET] sending packet: from ip[500] to 37.160.110.212[40781] (353 bytes)
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[NET] received packet: from 37.160.110.212[40782] to ip[4500] (1452 bytes)
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[ENC] parsed IKE_AUTH request 1 [ IDi CERT N(INIT_CONTACT) CERTREQ AUTH CPRQ(ADDR ADDR6 DNS DNS6) N(ESP_TFC_PAD_N) SA TSi TSr N(MOBIKE_SUP) N(NO_ADD_ADDR) N(MULT_AUTH) N(EAP_ONLY) N(MSG_ID_SYN_SUP) ]
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] received cert request for "C=DE, O=xxx, CN=xxxx"
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] received end entity cert "C=DE, O=xxx, CN=client"
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[CFG] looking for peer configs matching ip[%any]...37.160.110.212[C=DE, O=xxx, CN=client]
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[CFG] selected peer config 'roadwarriorPUBKEY'
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[CFG] using trusted ca certificate "C=DE, O=xxx, CN=xxxx"
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[CFG] checking certificate status of "C=DE, O=xxx, CN=client"
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[CFG] certificate status is not available
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[CFG] reached self-signed root ca with a path length of 0
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[CFG] using trusted certificate "C=DE, O=xxx, CN=client"
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] authentication of 'C=DE, O=xxx, CN=client' with RSA_EMSA_PKCS1_SHA256 successful
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] received ESP_TFC_PADDING_NOT_SUPPORTED, not using ESPv3 TFC padding
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] peer supports MOBIKE
Sun Dec 1 18:43:14 2019 user.err syslog: [defaultGW] Ignoring improper event
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] authentication of 'xxx.dyndns.org' (myself) with RSA_EMSA_PKCS1_SHA256 successful
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] IKE_SA roadwarriorPUBKEY[34] established between ip[xxx.dyndns.org]...37.160.110.212[C=DE, O=xxx, CN=client]
Sun Dec 1 18:43:14 2019 authpriv.info syslog: 15[IKE] IKE_SA roadwarriorPUBKEY[34] established between ip[xxx.dyndns.org]...37.160.110.212[C=DE, O=xxx, CN=client]
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] scheduling reauthentication in 9803s
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] maximum IKE_SA lifetime 10343s
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] sending end entity cert "C=DE, O=xxx, CN=xxx.dyndns.org"
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] peer requested virtual IP %any
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[CFG] reassigning offline lease to 'C=DE, O=xxx, CN=client'
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] assigning virtual IP 10.0.1.1 to peer 'C=DE, O=xxx, CN=client'
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] peer requested virtual IP %any6
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] no virtual IP found for %any6 requested by 'C=DE, O=xxx, CN=client'
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[IKE] CHILD_SA roadwarriorPUBKEY{8} established with SPIs cc4df570_i ec9ac3d9_o and TS 0.0.0.0/0 ::/0 === 10.0.1.1/32
Sun Dec 1 18:43:14 2019 authpriv.info syslog: 15[IKE] CHILD_SA roadwarriorPUBKEY{8} established with SPIs cc4df570_i ec9ac3d9_o and TS 0.0.0.0/0 ::/0 === 10.0.1.1/32
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[ENC] generating IKE_AUTH response 1 [ IDr CERT AUTH CPRP(ADDR DNS NBNS) SA TSi TSr N(AUTH_LFT) N(MOBIKE_SUP) N(ADD_4_ADDR) N(ADD_4_ADDR) N(ADD_4_ADDR) N(ADD_6_ADDR) N(ADD_6_ADDR) N(ADD_6_ADDR) ]
Sun Dec 1 18:43:14 2019 daemon.info syslog: 15[NET] sending packet: from ip[4500] to 37.160.110.212[40782] (1500 bytes)
Sun Dec 1 18:43:14 2019 daemon.info syslog: 04[NET] received packet: from 37.160.110.212[40782] to ip[4500] (76 bytes)
Sun Dec 1 18:43:14 2019 daemon.info syslog: 04[ENC] parsed INFORMATIONAL request 2 [ N(AUTH_FAILED) ]
Sun Dec 1 18:43:14 2019 daemon.info syslog: 04[IKE] received DELETE for IKE_SA roadwarriorPUBKEY[34]
Sun Dec 1 18:43:14 2019 daemon.info syslog: 04[IKE] deleting IKE_SA roadwarriorPUBKEY[34] between ip[xxx.dyndns.org]...37.160.110.212[C=DE, O=xxx, CN=client]
Sun Dec 1 18:43:14 2019 authpriv.info syslog: 04[IKE] deleting IKE_SA roadwarriorPUBKEY[34] between ip[xxx.dyndns.org]...37.160.110.212[C=DE, O=xxx, CN=client]
Sun Dec 1 18:43:14 2019 daemon.info syslog: 04[IKE] IKE_SA deleted
Sun Dec 1 18:43:14 2019 authpriv.info syslog: 04[IKE] IKE_SA deleted
Sun Dec 1 18:43:14 2019 daemon.info syslog: 04[ENC] generating INFORMATIONAL response 2 [ ]
Sun Dec 1 18:43:14 2019 daemon.info syslog: 04[NET] sending packet: from ip[4500] to 37.160.110.212[40782] (76 bytes)
Sun Dec 1 18:43:14 2019 daemon.info syslog: 04[CFG] lease 10.0.1.1 by 'C=DE, O=xxx, CN=client' went offline
errore era aes128-sha1-modp1024