LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-22-2015, 09:49 AM   #1
norman_himself
LQ Newbie
 
Registered: Sep 2015
Posts: 2

Rep: Reputation: Disabled
Multiple parallel vpn tunnels on debian gateway


Hi,
I'm running a debian 8 gateway between my router and my home net. It's used to route all traffic from the home net (eth1) through a openvpn tunnel to a vpn service provider I pay for.

My problem is, I just get around 2MB/s through the vpn, compared to 7-8 MB/s without it.

First I thought it must be bad peering of my isp, but when I connect a second client directly to the router and run openvpn on it, thereby creating two parallel vpn tunnels, I get 2Mb/s over the gateway plus 2MB/s over the other client. My guess is with 4 tunnels I should reach approx. 4 x 2MB/s.
So how can I set up multiple openvpn tunnels on the gateway and have all traffic from eth1 running balanced through them to max out my connection?
 
Old 09-24-2015, 03:07 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
You can use iptable tool to redistribute traffic into 4 VPN tunnels.
 
Old 09-24-2015, 03:09 PM   #3
norman_himself
LQ Newbie
 
Registered: Sep 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Could you provide me with an example how to do this?
 
Old 09-25-2015, 02:50 PM   #4
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
No exact same example but following link show you similar case.
http://www.webair.com/community/simp...ables-and-nat/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Windows7 VPN clients behind Debian Gateway can not connect to Draytek VPN neopandid Linux - Server 3 08-31-2012 11:34 PM
How to transfer data through several VPN tunnels simultaneously Ulysses_ Linux - Networking 14 05-16-2012 08:23 PM
How the Governments discover Illegal VOIP over VPN Tunnels ??? abakhiet Linux - Server 1 04-01-2011 04:59 AM
Identifying multiple ssh-tunnels GitS Linux - Networking 3 09-07-2010 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration