www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

vPN Bonding Problem

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
ubuntuu



Joined: 08 Aug 2015
Posts: 4

PostPosted: Sun Aug 09, 2015 11:31 pm    Post subject: vPN Bonding Problem Reply with quote

Hello together,

I am trying to setup some Internet/VPN Tunnel whatever bonding on 2 zeroshell boxes.

I did almost everything like in this tutorial here: https://www.youtube.com/watch?v=XIeXAqdbpzI (although its really difficult to understand)

But some points make me crazy and I never got the result I expected yet:

1) I setup a VPN line for every Internet connection I have (seperate NICs/seperate subnets etc) and that is all okay, both of my tunnels are connected successfully and stable. They connect to another zeroshell box at a ISP (For only getting one outside IP while surfing)
2) I bond the VPN lines together with the built in "create bonding interface" function and give this interface "BOND01" a IP that is in another subnet than my real NICs (it wonīt let me give it an IP within the subnet)
3) I allow NAT for the bonding interface and the ETH00/ETH01 devices
4) I want to add the BOND01 interface to my netbalancer gateway list aaaaaand... It canīt connect to it.
Of course not, I run in circles here:
I enter the gateway "BOND01" like "192.168.100.254" but the NICs have IP Adresses like "192168.1.1 and 192.168.2.1" so the gateway is not within a reachable subet and it canīt connect to "itself" or the entered gateway.

In the tutorial the guy adds this gateway as "disabled" and makes some netbalancer rules that only port 80 and 443 outgoing is using this bonded gateway (because he doesnīt want to he says) but I would want that.
He "hacks" this by a new ip rule, but I also think if Iīm doing the same, it would not connect either, because its in another subnet.

Did I create some mess in my head there or what am I doing wrong?

I would appreciate any help or any link to a really working tutorial of this on zeroshell.

Very much thanks in advance!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group