Controlling the vpn tunnel traffic
Hi All,
I have one PC on which OpenVpn server is running and 3 MIPS based embedded devices on which OpenVpn clients are running. They all are connected using Ethernet Gigabit switch. All devices are running on Linux.
I stream video to all the 3 devices from the PC using VPN.
If i stream data at 50Mbps, 2 devices are working fine. But 3rd device is equipped with slightly low end processor and this device restarts.
But this device works fine if I stream at 35 Mbps.
Is there 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 3rd 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 :- Centos - 5
OpenVpn :- openvpn-2.1.1
2) Embedded Device
Core :- MIPS 800 Mhz
RAM - 256 MB
Linux - 2.6.29.2
OpenVpn :- openvpn-2.1.1
3) Embedded Device
Core :- MIPS 600 Mhz
RAM - 256 MB
Linux - 2.6.29.2
OpenVpn :- openvpn-2.1.1
OpenVpn Server Configuration
-----------------------------
# IMPORTANT: For comments on any of the setting below, please # read server.conf.README file
server 192.168.0.0 255.255.0.0
port 1194
ca /opt/cert/internal/abc.chain
cert /opt/cert/internal/abc.cer
key /opt/cert/internal/abc.key
askpass /opt/cert/internal/abc.pwd
dh /opt/etc/openvpn/2.0/keys/dh1024.pem log-append /var/log/openvpn.log
status /opt/var/log/openvpn.status
proto udp
dev tun
ifconfig-pool-persist ipp.txt 3600
topology subnet
max-clients 65532
keepalive 10 120
cipher AES-128-CBC
script-security 3
verb 4
mute 1
-----------------------------------------------------------------------
Please let me know if more data is required.
Thanks and Regards
Raj Kumar S