Skip to main content

May 20, 2024

Secure site-to-site connectivity: Implement now with ngrok's how-to guides

408 words

Topics:
Jan 6, 2026: We updated this post with simpler definitions and updated links to fresh guides.

Site-to-site connectivity is a secure, persistent connection between your network and the APIs, databases, devices, or other services in your customers’ private network.

You install the ngrok agent inside your customer’s firewall, where it creates outbound-only connections to ngrok’s network. Your services then access customer resources (APIs, databases, devices) through ngrok endpoints, which means there’s no inbound ports and no VPNs.

Way easier to implement than asking your customer’s CISO to poke holes in their firewall, eh?

What does site-to-site connectivity look like?

Diagram showing your cloud service connecting through ngrok to the ngrok agent in the customer network, which routes to a DB and an API

Why ngrok instead of traditional solutions?

With ngrok, you:

  • Skip the complexity of site-to-site VPNs, VPC peering, and PrivateLink configurations
  • Leave customer firewalls untouched because the agent connects outbound
  • Deploy the same workflow in any cloud, on-prem datacenter, or hybrid environment
  • Enforce security at the edge with IP restrictions, mTLS, JWT validation, OAuth, or SAML
  • Stay online with endpoint pooling and automatic failover when an agent goes down

Meet the guides

I packed everything I’ve learned about building site-to-site networks into two concise how-to guides:

Both walk you through the architecture you’re aiming for, plus how to:

  1. Automate and secure the setup with Service Users and authtokens
  2. Set up Cloud and internal endpoints to route traffic
  3. Reserve custom domains
  4. Secure everything with Traffic Policy

Plus, some bonus points for Endpoint Pools and whitelisting the whole shebang with custom connect URLs.

If you’ve already locked in ngrok as your networking infra of choice, but are just in those final steps of convincing your customer’s CISO that ngrok is secure and trusted networking infrastructure, I can help with that, too:

Get started with ngrok for site-to-site connectivity today

Questions, issues, or features to request? Find us on X or directly at support@ngrok.com.

I’d love to help you design an architecture that’s just right for you, walk you through any of the steps, and help you hone in that why ngrok pitch.

Frequently asked questions