onemarcfifty / openvpn-bonding

bond multiple tap interfaces over openvpn
GNU General Public License v3.0
153 stars 52 forks source link

multiple clients #11

Open highfreq opened 3 years ago

highfreq commented 3 years ago

Once the vps is setup, is it possible to connect multiple client all of wich on double tunnel? Or is it just one client to one server.

thanks,

Corrado

AGIinspired commented 2 months ago

you need to make the server dynamically add a new subnet when a new client connects and tell the client what the subnet is (with relevant addresses).

A simple way for testing would be to do this for example:

client1 details: Bond0 with tap1 , tap2 and subnet of 10.8.0...

client2 details: Bond1 with tap3, tap4 and subnet of 10.9.0....

On the client side the interface names also need to match. You can experiment from there.