Prerequisites for site-2-site VPN¶
You can only create site-to-site VPNs from the Cloud management portal.
Please see Managing your cloud for more information.
Note
For the purposes of this guide, the local location is the Binero cloud data center and the remote locations is the site to which you want to connect.
Checklist to get started¶
You will need the following information to get started:
An existing subnet already setup in the platform which will be the local subnet (in CIDR notation) that’s sent over IPsec to the remote subnet (which would be your office or secondary data center, for example).
The IP address of the remote gateway (your public IP that your internet service provider provides to you) for the tunnel.
The remote subnet (in CIDR notation) that’s tunneled (meaning the network on which the computers or servers that should be able to connect to resources in the cloud using the tunnel are on).
A management IP that you allowed access to managing the VPN over the internet.
If you have another means of accessing the internal network (where the VPN server will be running), for example our client VPN, this is not needed and once the tunnel is up, you can connect to its remote IP. Normally the management IP is the same as the local gateway.
Sizing guidelines¶
Our tests show that CPU time and CPU clock-speed are the two main factors in getting a high throughput from the VPN.
Using iperf3
we’ve measured 1+ Gbps through the service by using a standard hp.2x4
flavor which we believe is a good choice, and is the default option.
If cost is your main concern, scaling down to a gp.1x2 will still run the VPN with no issues but expect throughput around 100 Mbps (which is enough for many use-cases).
Scaling up further to more than two CPU cores is not recommended as the speed gain is minimal instead make sure to use the high performance flavors to get greater CPU clock speeds.
If you want your tunnel 100% consistent, we also recommend our gp.4x8-pinned flavor which will grant all the capacity of the four cores to the VPN.
Note
Performance is equally based on the other end of the tunnel and your remote bandwidth. Take care when measuring the capacity of your bandwidth, if you don’t get the throughput you expect, consult the manufacturer of your IPsec equipment about what its rated for.
Remote equipment¶
To run a site-2-site tunnel to Binero cloud, you will need a remote router or firewall that is capable of IPsec.
This standard is well supported in hardware (and software) from a wide variety of manufacturers.
We recommend using the central firewall or router as remote endpoint as that will greatly simplify
routing, its possible to also forward the correct ports to a server (virtual or physical) on the
inside of the firewall as Binero cloud support the NAT-T
extension of the IPSec protocol.
This will make the routing more difficult as, depending on architecture, you might need to add routes to the different computers and servers directly.
If investing in a new router, Binero has good experience from the pfSense solution which is available in both hardware and software versions.