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 

bonding with dyndns question

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



Joined: 21 Oct 2010
Posts: 1

PostPosted: Fri Oct 22, 2010 3:43 pm    Post subject: bonding with dyndns question Reply with quote

Hello everybody Smile Iīm new here. And thank you Fulvio for this amazing release.

Here is what I want in pixels:


I tried to realise Fulvioīs howto -> http://www.zeroshell.net/eng/load-balancing-failover/

And now my questions:
    It is possible to realise this setup with two dynamic IPīs?
    I think on the VPN server side I need two dyndns domain names and zeroshell is not able to update two dyndns names.

    here is the the order how I install:

    - set up the ppp connections
    - set up the dyndns
    - put the two ppp interfaces to load balancing
    - set up the VPN tunnels
    - bond the tunnels, first on zerochannel 01 then on zerochannel 02
    - set up IP adresses for the bond interface for each side in the same subnet 10.0.0.1 and 10.0.0.2
    - set static routes for my two networks 192.168.3.0/24 and 192.168.8.0/24



    Do I need other static routes to connect the www or is this automatic done by the bonding? -> DEFAULT GATEWAY (LB) two times
    Do I have to enable NAT on ppp0 and ppp1?
Back to top
View user's profile Send private message
ppalias



Joined: 17 Dec 2008
Posts: 1151
Location: Athens, Greece

PostPosted: Mon Oct 25, 2010 7:15 am    Post subject: Reply with quote

ZS doesn't update 2 dyndns, this is a fact. A workaround I had implemented for this was to use 2 systems in my LAN to update the 2 dyndns accounts and with netbalancer rules I forced them use each one a different pppX interface.
Now normally all your traffic to the internet will be using the pppX interfaces, since it has a default gateway acquired from your provider. If you want to use the BOND for that you will have to add it in the Netbalancer as a gateway (the remote IP address of the BOND).
Yes, NAT should be enabled to pppX.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> VPN 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