od Le_Ze 21. 2. 2017 19:18
pptpd jsem zkoušel a fungovalo. Pak jsem se dočet o tom slabší šifrování.Když už, tak ať je to bezpečne.
Toto jsem našel.
https://ritazh.com/setup-your-own-l2tp-vpn-server-with-raspberry-pi-170d3d4df04c#.g8c0npqnt
Kde muže byt problem?
[quote]Feb 22 12:01:04 raspberrypi pluto[730]: Using Linux 2.6 IPsec interface code on 4.4.38+ (experimental code)
Feb 22 12:01:04 raspberrypi pluto[740]: using /dev/urandom as source of random entropy
Feb 22 12:01:18 raspberrypi pluto[730]: ike_alg_register_enc(): Activating aes_ccm_8: Ok (ret=0)
Feb 22 12:01:18 raspberrypi pluto[730]: ike_alg_add(): ERROR: algo_type '0', algo_id '0', Algorithm type already exists
Feb 22 12:01:18 raspberrypi pluto[730]: ike_alg_register_enc(): Activating aes_ccm_12: FAILED (ret=-17)
Feb 22 12:01:18 raspberrypi pluto[730]: ike_alg_add(): ERROR: algo_type '0', algo_id '0', Algorithm type already exists
Feb 22 12:01:18 raspberrypi pluto[730]: ike_alg_register_enc(): Activating aes_ccm_16: FAILED (ret=-17)
Feb 22 12:01:18 raspberrypi pluto[730]: ike_alg_add(): ERROR: algo_type '0', algo_id '0', Algorithm type already exists
Feb 22 12:01:18 raspberrypi pluto[730]: ike_alg_register_enc(): Activating aes_gcm_8: FAILED (ret=-17)
Feb 22 12:01:18 raspberrypi pluto[730]: ike_alg_add(): ERROR: algo_type '0', algo_id '0', Algorithm type already exists
Feb 22 12:01:18 raspberrypi pluto[730]: ike_alg_register_enc(): Activating aes_gcm_12: FAILED (ret=-17)
Feb 22 12:01:18 raspberrypi pluto[730]: ike_alg_add(): ERROR: algo_type '0', algo_id '0', Algorithm type already exists
Feb 22 12:01:18 raspberrypi pluto[730]: ike_alg_register_enc(): Activating aes_gcm_16: FAILED (ret=-17)
Feb 22 12:01:18 raspberrypi pluto[730]: added connection description "L2TP-PSK-NAT"
Feb 22 12:01:18 raspberrypi pluto[730]: added connection description "L2TP-PSK-noNAT"[/quote]
Do google ike_alg_register_enc(): Activating aes_ccm_12: FAILED (ret=-17)
Tato chyba se vyskytuje často ale nevím jak jí odstranít.