Avatar of Lenblock
Lenblock
 asked on

IPsec VPN - which encryption?

Hi

We have a Fortigate in HQ connected to a bunch of branch offices with IPsec VPN in a hub & spoke configuration.
Speeds varies from 10mbps to 100 mbps pr. Branch office.
Currently phase2 is set up with: aes128 and SHA256.

Fortigate now supports AES GCM and can be used in phase2 for IPsec VPN tunnels.

There something new & fancy out there, but I have no idea if it's better.
Hope some of you in here can enlighten me :)

1. Does GCM provide better throughput and/or is less CPU intensive?
2. Does it provide better security?

Understand the principle of encryption but not the inner workings, please take that into consideration.

Regards.
* FortigateVPNInternet Protocol Security

Avatar of undefined
Last Comment
btan

8/22/2022 - Mon
John

A VPN tunnel usually delivers the slow side of an ADSL link. You are probably getting the speed (10 Mbits/sec) that you can. The type of encryption affects security but not speed so much. Your encryption looks fine.

I have not yet used AES GCM so cannot comment on that part.
gheist

Last time I measured it was 2-3Gbps with AES+SHA2 per AES-NI CPU core, well in excess of your needs. There is no weaknesses solved by bigger encryption blocks, small ones should be fine too if you can measure speed difference (you need at least 10GbE network to saturate CPU)
ASKER CERTIFIED SOLUTION
btan

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Lenblock

ASKER
We do have accelerator for IPsec traffic in our HUB Fortigate, supports AES and others. Not sure if it supports AES-GCM.

Thank you for an informative post, i'm understanding it better.

I'm not  sure what pipelining means in this context?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
SOLUTION
btan

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.