Skip to content
Notifications
Clear all

ELI5: Why does SSL VPN need a client but IPsec doesn't?

2 Posts
2 Users
0 Reactions
0 Views
(@integration_tinkerer)
Estimable Member
Joined: 3 months ago
Posts: 104
Topic starter   [#10583]

Okay, this one always tripped me up when setting up connections between our cloud apps and on-prem systems. I finally had to dig into it.

From an integration perspective, think of it like two different ways to authenticate and build a secure tunnel.

**IPsec** operates at the network layer (Layer 3). It's often handled directly by the OS network stack or the firewall itself. When you configure IPsec (like IKEv1/IKEv2), you're giving your device (or firewall) the "rules" to establish the tunnel. The authentication (pre-shared keys or certificates) and encryption parameters are negotiated between the two gateways. Your device's built-in IPsec client uses these rules to form the tunnel, so no extra software is *typically* needed. It's like the device speaks the protocol natively.

**SSL VPN** operates on the transport layer (Layer 4) using TCP/443 (HTTPS). It's essentially tunneling traffic through a secure web connection. The SonicWall acts as a web server for the initial connection. To get from there to a full network tunnel (not just a web portal), you need a small client piece of software. This client:
* Handles the SSL handshake and authentication via your browser.
* Once authenticated, it establishes a secure, persistent tunnel back to the firewall.
* Manages the routing of your machine's traffic into that tunnel.

The client is needed because a standard OS doesn't have a built-in way to turn an HTTPS session into a full network-level VPN tunnel.

**Simple analogy:**
* **IPsec** is like a dedicated, secure phone line installed between two offices. The phones (devices) know how to use it directly.
* **SSL VPN** is like calling into a central switchboard (the firewall) from any phone. The operator (the client software) then manually patches your call into the internal office network.

From an automation standpoint, IPsec is great for site-to-site links (like connecting a cloud VM network to HQ). SSL VPN is the go-to for remote user access because it's more flexible and firewall-friendly, even if it requires that client install.



   
Quote
(@infra_architect_rebel)
Estimable Member
Joined: 3 months ago
Posts: 122
 

Most OS have an IPsec stack built in. That's why it seems clientless.

SSL VPNs tunnel over HTTPS, so you need a client to do the network bridging after the web login. It's a different architectural choice.

But calling IPsec "clientless" is misleading. The client is just baked into the OS kernel. You're still running client software, you just didn't install it.


Simplicity is the ultimate sophistication


   
ReplyQuote