Double internet connection set up
Another point... if this ISP is inherently reliable - why add another ISP instead of just switch to a second one? Or are you expecting them both to be WISPs (wireless ISPs), and both be unreliable?
The software and configuration required will be extremely dependent on the VPN provider and how they want to do it. It would almost surely require that you use a computer as your router instead of a normal router. Note that this would of course increase your latency to everything on the Internet. The amount depends on how far you are from the VPN provider.
If you wanted to get adventurous, you could do it yourself. Here's a list of general pointers/topics involved, roughly in this order. This would probably cost about the same as using a service from someone, but you would learn a lot more -- if you're prepared to and want to:
- Set up a linux computer as your router at home. It will need at least 2 interfaces, but 3 if you realistically wanted a second ISP later on. You can find various tutorials for Linux installation and learn about that on your own, for the router side you'd want to read about iptables, how routing works (at least a very basic understanding). There's a tutorial I used 10 years ago when first doing this, but I can't find that specific one. If you google about how to use Linux as a router you'll probably find enough guidance.
- Rent a VPS or cheap dedicated servers (start with Linode or similar)
- Install and configure openvpn and quagga on your home "router" server as well as the VPS
- The VPS would essentially be set up with an iptables ruleset like your home router, since traffic would go through it too
What you would be doing is establishing openvpn connections from your home router to the hosted VPS. This is what OpenVPN is for. Quagga is a routing protocol suite, to allow for dynamic routing. The home linux machine would be using OSPF (a routing protocol) to talk to the VPS router over two different VPN tunnels. You could set one as primary and one as backup.. Whenever one goes down (Internet goes down for the Internet connection that that tunnel is using), OSPF would detect the failure and start using the other one.
The connection would not drop like it would for other solutions because:
- Your IP address on the Internet would appear as the IP address of the VPS server. This is because all traffic is coming through there
- If you bought a box that let you use two ISPs at home, your IP address on the Internet would depend on which ISP you were using at a given time.
- By routing through the VPS, the Network Address Translation is taking place on the VPS. This allows it to use the VPS IP as your source IP for either ISP. As a result, it doesn't need to change when failing over and existing connections would not be broken.
There are a few substantial caveats, especially if using this for gaming:
- Your latency to any sites/servers -- most notably realtime things such as games, voice chats, etc -- would be increased by at least the amount of time from you to the VPS server
- The fastest that this thing would detect and fail over is roughly 3 seconds (the OSPF default is 40 seconds). You may be able to find a BFD (Bidirectional Forwarding Detection) implementation for Linux that works with Quagga, but this is beyond what I've ever cared to implement on Linux - I haven't needed fast reconvergence (reconvergence is the name for detection of failure, and use of a different path)
Linux, OpenVPN, and Quagga are fairly well-documented and there are tons of tutorials. This specific use case may or may not be common enough that you'll find guids to help use them to solve this problem/need. These technologies together start to blur the line between what is a network device, versus what is a server. If you're interested in this kind of thing or the technologies involved, there is a ton to learn and it can quickly become a hobby or career
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now