Quick answer: You can connect HL7 interfaces to hospitals without a site-to-site VPN by replacing the network tunnel with an outbound-only, identity-based connection. A small connector inside the hospital network and your interface engine both dial out to a private overlay, authenticate with their own cryptographic identities, and receive an encrypted path to one named service, such as the MLLP listener on your interface engine. The hospital opens no inbound firewall ports, nobody negotiates IPsec parameters, and overlapping IP ranges stop mattering.
HL7 v2 messages, MLLP framing, ACKs, and FHIR APIs all work unchanged, because the change happens at the connection layer, not in the interface. Rhapsody, whose integration platform serves more than 1,900 healthcare organizations, used this approach to replace hundreds of point-to-point VPN tunnels with zero inbound ports.
Why HL7 interfaces end up behind site-to-site VPNs
Most hospital integration still runs on HL7 v2, and HL7 v2 usually travels over the Minimal Lower Layer Protocol (MLLP). MLLP is a thin framing layer on top of plain TCP. It marks where each message starts and ends, but it does not encrypt anything, authenticate the sender, or verify the receiver.
Because messages carry protected health information (ADT events, orders, results, and clinical documents), the transport has to be secured some other way. The default answer for two decades has been a site-to-site IPsec VPN between the vendor and each hospital. Integration guides still recommend it as the standard setup, and cloud providers’ own MLLP tutorials include configuring a VPN as a step.
That works for one connection. It breaks down when a healthtech vendor, device company, or integration platform needs dozens or hundreds of them, because every hospital becomes its own networking project.
What a VPN per hospital really costs
| Problem | What it looks like in practice | Who pays for it |
|---|---|---|
| Slow go-lives | Each new hospital means IPsec parameter negotiation, firewall change requests, and a network architecture review, often adding weeks to onboarding | Sales and finance: revenue starts only when the interface is live |
| Overlapping IP ranges | Hospitals and vendors both use private address space, so tunnels need NAT rules and address workarounds | Engineering, on every new site |
| Tunnel sprawl | Hundreds of tunnels with no single view of which still exist, where they lead, or who uses them | Cloud operations and security |
| Broad network access | A tunnel connects networks, not services, so a compromise on either side can reach far more than one interface | The hospital’s security team, and your risk profile |
| Audit questions | Every open port and hand-managed tunnel becomes a question in HIPAA, HITRUST, and vendor security reviews | Compliance, on every questionnaire |
| Support burden | Many hospital IT teams lack the networking depth to troubleshoot their side, so problems land with the vendor | Your support engineers |
Rhapsody described exactly this pattern before it changed approach: hand-configured tunnels for each customer environment, several daily requests to allowlist IP addresses, and no clear inventory of which connections were still in use.
How an outbound-only connection replaces the tunnel
The idea is to connect two specific services, not two networks, and to do it without either side accepting inbound connections.
1. Give each endpoint its own identity
Your interface engine and each hospital connector get a unique cryptographic identity at enrollment. Access decisions are based on that identity, not on an IP address or a network location.
2. Put a connector on the hospital side
A lightweight software connector runs inside the hospital network, on a small VM or container near the EHR or its interface engine. If you ship an on-premises component already, the connector can be embedded in it with an SDK, which is how Rhapsody built it into its Envoy Edge product. Either way, the hospital doesn’t have to manage a separate networking product.
3. Have both sides dial out
The hospital connector and your interface engine both make outbound connections to the overlay network. Outbound traffic on standard ports is something hospital firewalls already allow, so there is no inbound rule to request, approve, or audit.
4. Authorize one identity to reach one service
Policy says, for example, that “the connector at Hospital A may reach the MLLP listener for Hospital A’s ADT feed.” It does not grant access to a subnet, and nothing else on either network becomes reachable.
5. Encrypt the path end to end
The connection is created only after both identities are authenticated and the policy allows it, and traffic is encrypted end to end with mutual TLS. Your MLLP sender and receiver see a normal TCP connection to a local address, so HL7 v2 messages, ACKs, and retries behave exactly as before.
For a deeper explanation of this pattern, see How to Achieve Zero Inbound Ports.
Site-to-site VPN vs. outbound-only connection for HL7
| Site-to-site IPsec VPN | Outbound-only, identity-based connection | |
|---|---|---|
| Hospital firewall changes | Inbound rules and tunnel endpoints at each site | None inbound; outbound only |
| Setup per hospital | Negotiate IPsec parameters, exchange IPs, test the tunnel | Enroll a connector identity and apply a policy |
| Overlapping IP addresses | Requires NAT workarounds | Not an issue; services are addressed by name |
| Scope of access | Network to network | One identity to one named service |
| Encryption | IPsec between gateways | Mutual TLS end to end, from service to service |
| Visibility | Spread across many devices and configs | Every connection tied to an identity in one place |
| Interface changes | None | None; HL7 v2, MLLP, and FHIR are unchanged |
How this fits HIPAA requirements
The HIPAA Security Rule’s transmission security standard (45 CFR 164.312(e)(1)) requires safeguards against unauthorized access to electronic PHI sent over a network. Today, encryption in transit is an “addressable” specification, which is why so many organizations satisfy it with a VPN.
That flexibility is expected to narrow. HHS’s proposed update to the Security Rule would make encryption, multifactor authentication, and network segmentation mandatory in most cases. Final action is now projected for July 2027, but hospital security teams are already asking vendors for these controls in security reviews.
An outbound-only, identity-based connection maps directly to those controls:
- Encryption in transit: every connection is encrypted end to end, and FIPS-validated cryptographic modules are available where buyers require them.
- Strong authentication: every endpoint proves its cryptographic identity before any connection exists.
- Segmentation: each identity reaches only the services its policy names, not the hospital network.
- Audit evidence: each connection is logged against an identity, so you can answer “who connected to what, and when.”
No networking product makes an organization HIPAA compliant on its own. Compliance depends on your full set of administrative, physical, and technical safeguards. The connection layer is one of the controls auditors and hospital security teams look at most closely, and this approach removes many of the questions a tunnel raises.
Example: how Rhapsody replaced hundreds of VPN tunnels
Rhapsody builds integration infrastructure used by more than 1,900 healthcare organizations in over 30 countries, including the VA and the NHS. Its cloud operations team was managing several hundred hand-configured VPN tunnels and IP allowlists across customer environments.
Rhapsody embedded NetFoundry’s zero trust SDK directly into Envoy Edge, its customer-deployed integration product. The result:
- Hundreds of VPN tunnels replaced with outbound-only connections
- Zero inbound ports required at customer sites
- No change for customers, since connectivity ships inside the product they already run
- Faster, more consistent rollouts, because connectivity no longer has to be rebuilt for each customer
As Rhapsody CTO Kevin Day put it: “We don’t tell our customers where their data needs to be. We’ll meet them where they are.”
How to switch without disrupting live interfaces
- Start with the next new hospital. Use the outbound-only connection for the next go-live instead of building a new tunnel. You avoid touching live interfaces, and you see the time saved immediately.
- Inventory your existing tunnels. List each hospital, its feeds (ADT, ORM, ORU, MDM, FHIR endpoints), ports, and whether the tunnel is still in use. Many teams find tunnels nobody can account for.
- Run in parallel. For an existing hospital, deploy the connector and route a test or low-volume feed over it while the tunnel stays up. Confirm messages, ACKs, and reconnect behavior.
- Cut over one feed at a time. Move each interface’s endpoint to the new connection, monitor message flow and acknowledgments, and keep the tunnel available as a fallback for an agreed period.
- Decommission the old path. Remove the tunnel and close the inbound firewall rules. Until those are gone, the old attack surface still exists.
FAQ
Does HL7 v2 over MLLP work without a site-to-site VPN?
Yes. An outbound-only connection carries ordinary TCP traffic, so MLLP framing, HL7 v2 messages, and ACKs pass through unchanged. Your interface engine connects to a local address as it would over a tunnel.
Can FHIR APIs use the same connection without a VPN?
Yes. FHIR APIs run over HTTPS, and the same outbound-only connection can expose a hospital’s FHIR endpoint privately to your application without publishing it to the internet.
Does the hospital need to open inbound firewall ports?
No inbound ports. The hospital connector makes outbound connections only, which most hospital firewalls already allow.
Do we need to change our HL7 interface engine?
No. The approach works at the network layer, so it is independent of which engine you use, whether that is your own product, Rhapsody, Mirth Connect, Cloverleaf, or another engine.
Can healthcare software vendors embed this connectivity in their own product?
Yes. Vendors with an on-premises or customer-deployed component can embed connectivity using an SDK, so each customer gets secure connectivity as part of the product, with no separate VPN or networking setup.
Is replacing a VPN with an outbound-only connection HIPAA compliant?
It supports the HIPAA Security Rule’s transmission security requirements, including encryption in transit and strong authentication, and it aligns with the segmentation and MFA controls in the proposed Security Rule update. HIPAA compliance itself depends on your organization’s full set of safeguards, not on any single product.
What if a hospital’s policy requires an IPsec VPN?
Some hospitals have policies written around VPNs. In practice, most security teams care about the controls (encryption, authentication, least-privilege access, and no inbound exposure), and an outbound-only connection usually satisfies those more completely than a network-to-network tunnel.
Related articles
- How to Achieve Zero Inbound Ports
- Best Zero-Trust Workload Connectivity Platforms
- How Rhapsody Replaced Brittle VPN Tunnels with Zero Trust Networking
Sources & References
- Rhapsody customer story (NetFoundry): Rhapsody’s replacement of point-to-point VPN tunnels with embedded zero trust connectivity
- HL7 MLLP protocol explained and VPN setup guide (Health Samurai): how MLLP works and why site-to-site VPNs are the usual way to secure it
- Transmitting HL7v2 messages over TCP/IP connections (Google Cloud): MLLP adapter tutorial that uses a VPN to secure on-premises connections
- 45 CFR 164.312, Technical safeguards (eCFR): HIPAA Security Rule transmission security standard
- Feds push back HIPAA Security Rule overhaul to July 2027 (Fierce Healthcare): status of the proposed Security Rule update
- FIPS-compliant connectivity (NetFoundry): FIPS 140-2 and 140-3 validated cryptographic modules