Message-ID: <1347538873.18716.YahooMailNeo@...1760...> Date: Thu, 13 Sep 2012 05:21:13 -0700 (PDT) From: Raj Kumar MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1658718958-729068439-1347538873=:18716" Subject: [Openvpn-devel] Controlling the vpn tunnel traffic Reply-To: Raj Kumar List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "openvpn-devel@lists.sourceforge.net" ---1658718958-729068439-1347538873=:18716 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All, I have one PC on which=A0 OpenVpn server is=A0 running and 3 MIPS based emb= edded devices=A0 on which OpenVpn clients are running. They all are connected using Ethernet Gigabit switch. All devices are runni= ng on Linux. I stream video to all the 3 devices from the PC using VPN.=20 If i stream data at 50Mbps,=A0 2 devices are working fine. But 3rd device i= s equipped with slightly low end processor and this device=A0 restarts.=20 But this device works fine if=A0 I stream=A0 at 35 Mbps.=20 Is there any way i can configure OpenVpn server in such a way that it can s= tream data at 50 Mbps to the first 2 devices and=20 at 35 Mbps to the 3rd device.=A0 Can I use "-shaper n" option to limit the = bandwidth.=20 Please help me. HW Configurations -------------- 1 )PC=20 =A0=A0=A0=A0=A0=A0=A0 Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz =A0=A0=A0=A0=A0=A0=A0 RAM - 4 GB =A0=A0=A0=A0=A0=A0=A0 Linux :-=A0 Centos - 5 =A0=A0=A0=A0=A0=A0=A0 OpenVpn :- openvpn-2.1.1 2) Embedded Device=20 =A0=A0=A0 Core :-=A0 MIPS 800 Mhz =A0=A0=A0 RAM - 256 MB =A0=A0=A0 Linux - 2.6.29.2=20 =A0=A0=A0 OpenVpn :- openvpn-2.1.1 3) Embedded Device=20 =A0=A0=A0 Core :-=A0 MIPS 600 Mhz =A0=A0=A0 RAM - 256 MB =A0=A0=A0 Linux - 2.6.29.2=20 =A0=A0=A0 OpenVpn :- openvpn-2.1.1 OpenVpn Server Configuration=20 ----------------------------- # IMPORTANT: For comments on any of the setting below, please #=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 read server.conf.README file server=A0 192.168.0.0 255.255.0.0 port=A0=A0=A0 1194 ca=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /opt/cert/internal/ab= c.chain=20 cert=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /opt/cert/internal/abc.ce= r=20 key=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /opt/cert/internal/abc.= key=20 askpass=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /opt/cert/internal/abc.pwd=20 dh=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /opt/etc/openvp= n/2.0/keys/dh1024.pem log-append=A0=A0=A0=A0=A0=A0=A0=A0 /var/log/openvpn.log status=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /opt/var/log/openvpn.st= atus proto=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 udp dev=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 tun ifconfig-pool-persist ipp.txt 3600 topology=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 subnet max-clients=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 65532 keepalive=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 10 120=20 cipher=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 AES-128-CBC script-security=A0=A0=A0=A0=A0=A0 3=20 verb=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 4 mute=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 1 ----------------------------------------------------------------------- Please let me know if more data is required. Thanks and Regards Raj Kumar S= ---1658718958-729068439-1347538873=:18716 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi All,
=
I have one PC on which  OpenVpn server is  running = and 3 MIPS based embedded devices  on which OpenVpn clients are runnin= g.
They all are connected using Ethernet Gigabit switch. All devices are running on Linux.

I stream video to all the 3 d= evices from the PC using VPN.
If i stream data at 50Mbps, = 2 devices are working fine. But 3rd device is equipped with slightly low e= nd processor and this device  restarts.
But this device wo= rks fine if  I stream  at 35 Mbps.

Is the= re any way i can configure OpenVpn server in such a way that it can stream = data at 50 Mbps to the first 2 devices and
at 35 Mbps to the 3r= d device.  Can I use "-shaper n" option to limit the bandwidth.

Please help me.




HW Configurations
--------------
= 1 )PC
        Intel(R) Core(= TM) i3-2100 CPU @ 3.10GHz
       = RAM - 4 GB
        Linux :-&= nbsp; Centos - 5
        OpenVpn :- = openvpn-2.1.1


2) Embedded Device
<= div style=3D"color: rgb(0, 0, 0); font-size: 13.3333px; font-family: verdan= a,helvetica,sans-serif; background-color: transparent; font-style: normal;"= >    Core :-  MIPS 800 Mhz
    RAM - 256 MB
    Linux= - 2.6.29.2
    OpenVpn :- openvpn-2.1.1
<= div style=3D"color: rgb(0, 0, 0); font-size: 13.3333px; font-family: verdan= a,helvetica,sans-serif; background-color: transparent; font-style: normal;"= >

3) Embedded Device
    Cor= e :-  MIPS 600 Mhz
    RAM - 256 MB
    Linux - 2.6.29.2
    Open= Vpn :- openvpn-2.1.1



Open= Vpn Server Configuration
-----------------------------
<= br>
# IMPORTANT: For comments on any of the setting below, please
#&= nbsp;           read serv= er.conf.README file

server  192.168.0.0 255.255.0.0
= port    1194
ca       =            /opt/cert/inte= rnal/abc.chain
cert        &nbs= p;       /opt/cert/internal/abc.cer
key&n= bsp;            = ;    /opt/cert/internal/abc.key
askpass   = ;         /opt/cert/internal/abc.pwd


dh     &nb= sp;            =   /opt/etc/openvpn/2.0/keys/dh1024.pem
log-append   =       /var/log/openvpn.log
status  &n= bsp;            = ; /opt/var/log/openvpn.status

proto     &nb= sp;           udp
dev&= nbsp;           &nbs= p;      tun
ifconfig-pool-persist ipp.txt 3600<= br>topology          &nbs= p;   subnet
max-clients      &nb= sp;    65532
keepalive      = ;       10 120
cipher          &nbs= p;     AES-128-CBC
script-security   =     3
verb       &nbs= p;          4
mute &nb= sp;            =     1
-------------------------------------------= ----------------------------




Please let me know if more data is requir= ed.


Thanks and Regards
Raj Kumar S
=







= ---1658718958-729068439-1347538873=:18716--