Hello, I have a Q regarding IPsec encryption algorithms, after some testing of SSTP and abysmally slow connection speed (about 5-6 mbps whatever I do) I established L2TP/IPsec connection which seems to work fine.
Now, I understand that by default encryption is rather weak, so I wanted to doublecheck if what I put up now is enough. Please see attached images. In essence, I set:
under proposals:
auth: sha-256
enc: aes-256-cbc
under profiles:
hash: sha-256
enc: aes-256
Everything works and saturates the link speed, so the Q is if this is secure enough?
See the comments regarding using PSKs instead of certificates, in particular the entropy required - something along the lines of head -c 24 /dev/urandom | base64 on a linux system.
Thank you. That document is amazing really, as it is highly useful. I hope my government would do things like that…
I implemented your suggestions, as I think they are valid.
As for certs vs PSK, I use this VPN for site to site, and keys are 250 chars long, complex gibberish. If someone manages to crack that, well, congrats.
PSK is simple, and if implemented correctly it works. I also use SSTP, as that thing works everywhere, but certificates are a hassle.