See Also : VPN

Requirements

  • Router with multiple WAN devices
  • VPN or VPS supporting channel bonding driver within containers
  • Low-overhead encryption

Optional

  • Geo-targeting avoidance

Configuration

OpenWRT Barrier Breaker

opkg update
opkg install ifenslave # also installs kmod-bonding
opeg install openvpn-nossl # test without SSL initially

Configure OpenVPN tun interfaces

tun : layer 3 tunnel (i.e. a gateway)

tap : layer 2 tunnel (i.e. an ethernet switch with the associated overhead of ethernet headers)

We don't need ethernet switching so use an ip tunnel.

Configure bonding

balance-rr : round-robin splits all connections across slaves

balance-xor L2 : splits based on (src-MAC xor dst-MAC). Wouldn't work for point-to-point bonded links

balance-xor L3 : splits based on src or dest host. Same as per-connection balancing

balance-tlb : adaptive load-balancing (with both ends operating tlb, should achieve the same effect as balance-alb)

Configure /etc/network/interfaces

iface bond0 inet static
    address 172.26.0.2
    netmask 255.255.255.252
    bond-slaves tun0 tun1
    bond_mode balance-rr

OpenVZ - Debian 6

OpenVZ doesn't seem to create bond0 when the bonding driver is enabled in the kernel.

Configure /etc/network/interfaces

iface bond0 inet static
    address 172.26.0.1
    netmask 255.255.255.252
    bond-slaves tun0 tun1
    bond_mode balance-rr

Xen

2.6.32.28-xenU on Rimu definitely does have bonding.

$ zgrep BONDING /proc/config.gz
CONFIG_BONDING=y

$[Get Code]7

VPS Suppliers

VPS search engine : http://serverbear.com/compare?Sort=Monthly+Cost&Order=asc&Server+Type=VPS&Monthly+Cost=-&HDD=-&RAM=-&Bandwidth=200000000000-&Country=UK&City=&Virtualization=

Supplier Plan Bandwith (GB) Cost £/mnth
MiniVPS 2 250 2
UK2 VPS1 3000 5
Digital Ocean $5/mo 1000 3.25

VPN Suppliers

IPVanish

Site : https://www.vpncompare.co.uk/ipvanish-com-information/

Connections : 1 OpenVPN, 1 other

Private Internet Access (PIA)

Site : https://www.privateinternetaccess.com/

Connections : 5

Non-VPN Suppliers

Speedify

Site : http://speedify.com/features/channel-bonding/

Client Router

Multipath TCP

http://wiki.openwrt.org/doc/uci/mptcp