Network & Infrastructure

Connecting Branch Offices: A Site-to-Site VPN Guide

We explain how site-to-site VPN works and what to watch during set-up so your branches can reach head office servers and software securely.

SistemON Technical Team · · 6 min read

In short

  • Site-to-site VPN connects the networks of two locations through an encrypted tunnel over the internet; branches reach head office resources as if they were on the local network.
  • It is usually set up on the firewalls at each location, using the IPsec protocol.
  • IP planning, enough upload speed and the right access rules are critical to a successful project.

As your business grows and you open a new branch, warehouse or shop, the same question comes up: “How will staff at the branch securely reach the file server, accounting software and printers at head office?” The most common and economical answer is a site-to-site VPN between your locations.

What is a VPN?

A VPN (Virtual Private Network) builds an encrypted, authenticated connection (a tunnel) between two points over a public network such as the internet. Data passing through the tunnel can’t be read, even if it is captured on the networks in between.

Site-to-site VPN vs remote access VPN

Site-to-site VPNRemote access (client) VPN
What does it connect?The whole network of two locationsA single user to the company network
Where does it run?The firewall/router at each locationA VPN client on the user’s computer
What does the user do?Nothing; the connection is always onConnects when needed and authenticates
Typical useBranch, warehouse, shop, factoryHome and field workers

Most companies use both models together: branches connect to head office with a site-to-site VPN, and home workers with an MFA-protected remote access VPN.

How does site-to-site VPN work?

Each location has a firewall or a VPN-capable router. These devices authenticate each other, agree on encryption methods and build a permanent tunnel between them. For example, when a computer at a Kadıköy branch wants to reach the head office file server in Ümraniye, the traffic is automatically routed into the tunnel; the user doesn’t have to do anything.

The most widely used protocol in business environments is IPsec. Current installations should use strong encryption such as IKEv2 and AES; old, weak algorithms (e.g. DES, 3DES, MD5) shouldn’t be used.

Planning before set-up

1. IP address plan

Each location’s local network must be in a different IP range. If head office and a branch use the same range (e.g. 192.168.1.0/24 on both sides), traffic can’t be routed correctly even if the tunnel comes up. This is one of the most common VPN problems.

2. Internet line

For access from a branch to head office, head office’s upload speed is decisive. On asymmetric lines where upload is low, branches see slowdowns when opening files. A backup internet line should also be planned for critical locations.

3. Choosing devices

Using up-to-date firewalls with enough VPN performance on both sides, ideally from the same vendor, makes set-up and management easier. For choosing a firewall, see our firewall guide.

4. Access rules

Once the tunnel is up, branches don’t need access to everything at head office. Branch users should only reach the servers and ports they need, so a security incident at one branch can’t easily spread to head office.

How do applications work over VPN?

  • File sharing: works without trouble for small and medium files; for large files, line speed is decisive.
  • Database-based software: some accounting and ERP software is sensitive to latency. For software like this, a terminal server / remote desktop solution is far more efficient.
  • IP phones and cameras: quality of service (QoS) settings should be configured for voice traffic.

What is SD-WAN? Businesses with many branches may prefer SD-WAN solutions, which use several internet lines intelligently and manage all branches from a central console. For SMEs with only a few branches, classic IPsec site-to-site VPN is usually sufficient and more economical.

VPN security checklist

  • Strong encryption algorithms (AES, the SHA-2 family, IKEv2) are in use
  • Pre-shared keys (PSKs) are long and random, or certificate-based authentication is used
  • Multi-factor authentication (MFA) is on for remote access VPN
  • Firewall and VPN device software is up to date
  • Tunnel status is monitored and alerts are raised when it drops
  • Branches can only reach the resources they need

IT checklist for opening a new branch

When opening a new branch, IT work is often left to the last week, and opening day is spent on “no internet, the printer doesn’t work, we can’t connect to the software”. To avoid this, we suggest this order:

  • Order the internet line at least a few weeks in advance; plan a backup line (e.g. mobile) if possible
  • Assign the branch an IP range different from head office and record it in the network plan
  • Configure the firewall at head office in advance and ship it to the branch ready to go
  • Plan cabling and wireless needs together with the furniture layout
  • Join computers to the domain in advance and prepare software and printer settings
  • Agree which folders and software at head office branch users will access
  • The day before opening, test the VPN, printing, file access and the main applications

Remote access VPN for home workers

As well as branches, staff working from home or in the field need secure access too. For these users, a client-based VPN should be configured on the firewall, multi-factor authentication must be used and user accounts should be linked to Active Directory. That way, when a leaver’s account is disabled, their VPN access ends automatically too. Exposing remote desktop connections directly to the internet without a VPN, on the other hand, is the most common entry point for ransomware attacks and is strongly discouraged.

Conclusion

Site-to-site VPN is a secure, cost-effective way to connect your branches to head office. With the right IP plan, enough line capacity and well-configured firewalls, your branches work as if they were at head office. At SistemON, we plan, set up and monitor branch VPN projects as part of our network solutions. If you are opening a new branch, our structured cabling guide will also be useful.

Frequently Asked Questions

Do we need a static IP for a branch VPN?

A static IP address at head office makes set-up and management easier. Branches can use dynamic IPs; many business firewalls also support building VPN tunnels with dynamic addresses.

Will a VPN connection slow down our internet?

Encryption adds processing overhead, but on correctly sized firewalls the difference isn’t noticeable. What really matters is the speed of the internet lines at the branch and head office, especially upload speed.

Can we use our accounting software from a branch over VPN?

Yes, but some database-based software is sensitive to network latency. In that case, running the software on a terminal server (remote desktop) gives a much smoother experience.

Need help with this?

Let us review your infrastructure free for the first month and share a clear list of risks and priorities.

Talk to an expert

First month free

Keep your systems ON.
Leave the rest to us.

Let us review your infrastructure free of charge for a month and walk you through the state of your backups, security and performance.

Chat with us