ScottJoshuaC
asked on
Multiwan, one VPN connection
I have four individual 1Mbps network connections to the internet. I'm trying to aggregate all that bandwidth. I had the idea of maybe setting up a VPN to an Amazon EC2 server and split that connection across the 4 1Mbps links I have. Any info that can help me accomplish this would be appreciated. I already have a VPN server setup on my EC2 box. The 4 connections are NAT'd behind my ISPs router btw.
http://www.netgear.com/business/products/security/wired-VPN-firewalls/SRX5308.aspx#
ASKER
I'm looking for a software solution rather than a commercial hardware.
In my experience,it's simpler ,faster,and cheaper just to use a hardware solution.
In any case you will have to devote a PC of some sorts if you want to run a Linux load balance,but if you have the time and patience:
http://erikwebb.net/blog/open-source-software-load-balancers
In any case you will have to devote a PC of some sorts if you want to run a Linux load balance,but if you have the time and patience:
http://erikwebb.net/blog/open-source-software-load-balancers
if you want to split a single outgoing connection over multiple links, i'd very strongly advice you against the idea. it just simply will not work in many cases regardless of your setup because your ISPs' routers or remote firewalls will just simply not allow it.
then if you want to balance multiple connections over multiple links, ipfilter, pf, and netfilter + linux routing all will allow you to do that quite easily. i'd go for freebsd+ipfilter but that is just me and i have no specific reasons to tell you this is much better than anything else.
once this is done, if you want to run an udp-based vpn software to EC2, it might just run out-of-the-box but i would not recommend using such a setting for reasons similar to the above. i would not even give tcp a try except for educational reasons, and would use udp for production even if it works with tcp
then if you want to balance multiple connections over multiple links, ipfilter, pf, and netfilter + linux routing all will allow you to do that quite easily. i'd go for freebsd+ipfilter but that is just me and i have no specific reasons to tell you this is much better than anything else.
once this is done, if you want to run an udp-based vpn software to EC2, it might just run out-of-the-box but i would not recommend using such a setting for reasons similar to the above. i would not even give tcp a try except for educational reasons, and would use udp for production even if it works with tcp
ASKER
Although you strongly recommend against it, do you know how I would go about it? This is just for my personal use and not for anyone else. Do to my location, I am unable to obtain a connection greater than 1Mbps, so I'd be willing to try it. I may be able to work with the local telco to allow the connections to go through.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks for this information. I will post a follow up with a comment after I try it.
i'll be very interested in a trace of a single tcp over mpd solution espetially if you have a setup with variable latencies. BSDs will cope with variable latencies much better than linuxes 2.x and i have no idea of the behavior of 3.x kernels in that regard.
if you need help in the meantime, feel free to post. i'll be glad to help if I can.
if you need help in the meantime, feel free to post. i'll be glad to help if I can.