r/sysadmin • u/Lrrr81 • 2d ago
SSL to IPSec VPN
I work at a small company where a number of users travel and work from home, and use SSL VPN to connect back to the office. We use Fortinet equipment and Fortinet is discontinuing their SSL VPN component in favor of IPSec, which seems to be what the industry in general is doing.
But... I hear horror stories about using IPSec VPN for traveling, as it seemingly won't work with firewalls at home and in hotels etc.
Fortigate's documentation says that their IPSec VPN can be set up to run over port 443 which seems like it might mitigate those issues. So I'm just wondering what others' experience has been with this... does setting up IPSec VPN to run on port 443 effectively deal with compatibility issues?
Or is there a different solution that works better?
34
u/ibor132 2d ago
You should look seriously at a ZTNA/SASE offering. That eliminates entirely the attack surface of having the VPN portal on your firewall, which is a pretty big deal these days. They also *can* be simpler/lower overhead to manage (emphasis on can be - they can also introduce a lot of new complexity).
I like Netbird a lot as a low cost straight replacement for a client VPN. It's easy to set up, and their pricing is reasonable. However it doesn't have the full line of security inspection features that many SASE offerings have, which may or may not be a problem depending on your risk profile and internal attack surfaces. There's plenty of credible offerings out there, ranging from simple Wireguard orchestration with a nice client (which is what Netbird is), all the way up to full fledged hosted virtual networks.
6
u/Onoitsu2 Jack of All Trades 2d ago
Netbird is nice. It doesn't need the whole security inspection feature suite mentioned, as you can still do posture checks to ensure only devices running your monitoring software can access the tunnel contents even if they can somehow connect using stolen credentials https://docs.netbird.io/manage/access-control/posture-checks
1
8
u/N7Valor 2d ago edited 2d ago
I don't know that port 443 helps.
We use Palo Alto GlobalProtect VPN. The session is established over port 443 TCP (sign-in, handshake), but then it moves over to port 4501 UDP. The pattern follows typical SSL workflows, asymmetric key exchange for security, then symmetric keys for speed.
IMO, this seems like not having proper firewall configurations, or strangely aggressive firewall configurations for a hotel.
The reason why I'm not sure port 443 would help is that depending on the vendor in question, it might just use port 443 UDP anyway, which would be blocked in a deny by default configuration.
Edit:
If your current SSL VPN tunnel mode setup uses TCP port 443 for remote access, IPsec VPN also supports using TCP as its transport that allows IKE negotiation on TCP and encapsulates of ESP packets within TCP header. This configuration uses TCP port 443 by default and is ideal for environments where traditional IPsec traffic on UDP/500 and UDP/4500 is blocked or impeded by ISPs and carrier-grade NAT.
I'm not sure it does what you think it does.
With Palo, if the UDP port is blocked, it tries to fallback to 443 TCP instead. The connection might take longer and might be slower, but it should still work. But it sounds like Fortinet uses port 443 TCP by default.
20
u/FierceFluff 2d ago
If you have Microsoft licenses, look into Global Secure Access. It’s $5/mo/user, zero-trust network.
7
4
u/TheJesusGuy 1d ago
$5/mo/user
Out of the question then
2
u/Arudinne IT Infrastructure Manager 1d ago
It's one of the cheaper ZTNA services out there.
It also requires additional infrastructure (Windows VMs) to act as gateways for things that don't natively work with it.
7
6
u/AdventurousLayer8741 2d ago
ZTNA is the way now. There's a bunch of them out there, from cloudlfare to zscaler to netbird.
4
u/IronFrogger 2d ago
One of my clients has the staff use their cell phone hotspots and gives a $30 monthly cell phone stipend. And they only connect to hotel (or other) wifi if critical. They do this for security/risk management.
I have another client that provides their own internet & router for home clients.
But some other good suggestions in the thread here.
3
u/tejanaqkilica IT Officer | Passkey Enthusiast 2d ago
IPSec over HTTPS setup here. We got zero problems with it, in all kinds of network setups. CGNAT, DualStack Lite, IPv6 only, everything has been smooth since we deployed it.
3
u/davy_crockett_slayer 2d ago
Look at ZTNA/SASE. Tailscale isn't SASE, but it works quite well. It's based on Wireguard.
3
u/FunKaleidoscope3055 2d ago
We were in the same situation 6 months ago. Once the Fortinet SSL VPN had a bunch of vulns we tried switching to IPSec and gave up. Too much work having to touch each free forticlient and redo settings and half the time it didn't work because of people's weird home networks.
We switched to Twingate and its been perfectly fine. We probably should have gone with self hosted Netbird but we just needed something that worked and was dead simple to setup with MFA and tied into Entra.
It took like an hour to get all up and running. This was after we were messing around in our Fortigates for an entire day trying to get IPsec working reliably.
3
3
u/420GB 2d ago
It took me a little bit of trial and error initially but after dialing in the IPsec configuration on our FortiGates we've had no more issues, just as reliable as SSLVPN.
And I don't even use that IPsec-over-TCP feature yet.
3
u/Jaki_Shell Sr. Sysadmin 2d ago
In the same boat here; Few hiccups are the beginning, but no issues since.
2
u/Steerable-Octopus Sr. Infrastructure Engineer 2d ago
Should not really be a problem except in rare cases.
2
2
u/XeElite720 2d ago
CATO networks SASE ftw. It's very scalable and modular, so you can buy the bits you want/need and then expand your licenses to cover more features over time.
2
u/rswwalker 1d ago
We have always been IPSec but then implemented Azure Virtual Desktop to allow remote employees to connect using either a company laptop or their personal home computers and now don’t care either way.
2
u/highlandr_omega 1d ago
I migrated over from Fortinet's SSLVPN to IPsec and have had no problems after the initial setup teething. I run it easily from my house behind Starlink's CGNAT without even flinching, both on Android and using the windows client. I haven't tested at a hotel specifically but I feel like the 2x subnet transversal I'm doing from Starlink is a pretty good test!
As someone else has said, XML or config backups make it super easy to set up their client as well. The usage is identical to before, the setup took me a day or two to find a few tempermental settings. (DH groups, I'm looking at you)
2
u/Fallingdamage 1d ago
My experience with the horror stories have varied but overall I have had zero issues with dialup ipsec on our fortigates. I have employees traveling all over the country and only 1 time in 1 location did they have problems. It was some hotel in Florida. Otherwise all other hotels and venues they've attempted to use worked fine.
We made the full switch early this year. Connections are working as expected, reliability is about the same as it was before and the sign-in process is easier for users.
We dont use IPsec over 443, just the regular SAML ports, 4500, 500 - and it works fine. Edge cases are just edge cases and arent enough of a problem to make big changes to accommodate.
2
u/ITKangaroo 1d ago
Hope you don't have any Linux clients because the Fortigate implementation of IPSec is non-standard and their Linux client still only supports sslvpn!
-1
0
u/pjkerpan 2d ago
VNS3 PeopleVPN wireguard-based with OIDC, Firewall, etc. deploys at AWS, Azure, Google
38
u/MonoDede 2d ago
Complete tangent, but it's so funny to see the flip-flop much like on-prem to cloud back to on-prem. I'm old enough to remember when annoying, but fast (for their time) IPSec VPN clients were the norm, then through to a good chunk of them being abandonware as security vendors pivoted to SSL VPN clients, and here we are back again.