[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] 2 gateways


  • Subject: Re: [Openvpn-users] 2 gateways
  • From: "James Yonan" <jim@xxxxxxxxx>
  • Date: Mon, 10 Nov 2003 20:34:28 -0000

Krzysztof Gorzelak <krzysztof@xxxxxx> said:

> Hi
> 
> I've got such network:
> 
> --------------------------                        --------------------------
> |     internet         |                        |     internet         |
> --------------------------                        --------------------------
>          | 0,5Mbit                                         | 0,5Mbit
> ---------------------------      22Mbit        ---------------------------
> |  SERVER A      | ---------------------- |  SERVER B      |
> ---------------------------                       ---------------------------
>         |  100MBit                                        | 100MBit
>     users A                                           users B
> 
> I would like to make sth like this:
> 1)   users A can connect users B (like in VPN)
> 2a) users A connect throw Server A to internet, but if it's busy use Server B
> 2b) users B connect throw Server B to internet, but if it's busy use Server A
> {some kind of traffic shaping}
> 3)  when user A is copying sth from user B there is always 0,5Mbit bandwidth
for internet connection (2a,2b)
> 
> Thanks for help.
> Krzysztof Gorzelak
> krzysztof@xxxxxx

Krzysztof,

You might take a look at Linux's Quality of Service (QoS) implementation. 
This will allow you to prioritize different streams operating over the tunnel.
 Then you can use OpenVPN's --passtos option to extract the QoS bits of
packets flowing into the virtual TUN/TAP interface and apply them to OpenVPN's
UDP or TCP socket which is the carrier for the encrypted, encapsulated tunnel
packets.

James


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users