Hello everyone,
I’m currently working on a project involving two OPNsense routers and am looking for some guidance on setting up a site-to-site VPN. My objective is to allow both locations to access internal services (like storage servers and printers) across the sites without routing all outbound internet traffic through a single location. Here are the specifics:
- Site 1 Network: 10.0.0.0/24, with a dynamic WAN IP. Planning to use Dynamic DNS for hostname resolution.
- Site 2 Network: 10.0.1.0/24, has a static WAN IP.
I’m aiming for a setup where each site routes its outbound traffic through its own WAN but can still communicate with the other site’s internal network for accessing shared resources.
Key Requirements:
Site-to-Site VPN: Need a reliable method to connect both sites in a way that allows them to access each other’s internal services without rerouting all external internet traffic to the other site.
Resilience: If the VPN connection fails, it shouldn’t disrupt the normal outbound internet connectivity for either site.
Given these requirements, I have a few questions:
What is the best VPN solution or configuration for this scenario on OPNsense? (Considering IPsec, OpenVPN, etc.)
How can I ensure that the VPN connection is resilient and doesn’t impact external internet access if it drops?
Are there specific settings or considerations for handling the dynamic DNS setup at Site 1 within the VPN configuration?
Any recommended practices for monitoring and automatically reconnecting the VPN should it fail?
I appreciate any insights, examples, or resources you could share. I want to ensure a robust and reliable setup that maintains local network integrity and accessibility across both sites without complicating the outbound internet connectivity.
Thanks in advance for your help!