I have a question, probably more theoretical (but caused a real problem) ...
The main office has a connection to SDSL (1Mb Up/Down) and behind the server OpenVPN 2.0.
Always connected to the server 3 clients (other offices), and sometimes connect roadwarriors.
server.conf:
Code: Select all
dev tun
udp
comp-lzo
I would like to ask how OpenVPN divides the channel between the 3 - 4 clients? Each connection is allocated a fixed bandwidth or dynamic bandwidth?
Using iperf, I measured the speed in the tunnel from each client:
Client 1
Code: Select all
# iperf -c 192.168.1.12 -i2
------------------------------------------------------------
Client connecting to 192.168.1.12, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.13.102 port 50200 connected with 192.168.1.12 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 2.0 sec 216 KBytes 885 Kbits/sec
[ 3] 2.0- 4.0 sec 96.0 KBytes 393 Kbits/sec
[ 3] 4.0- 6.0 sec 144 KBytes 590 Kbits/sec
[ 3] 6.0- 8.0 sec 144 KBytes 590 Kbits/sec
[ 3] 8.0-10.0 sec 88.0 KBytes 360 Kbits/sec
[ 3] 0.0-10.1 sec 696 KBytes 563 Kbits/sec
Code: Select all
iperf -c 192.168.1.12 -i2
------------------------------------------------------------
Client connecting to 192.168.1.12, TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[1884] local 192.168.3.206 port 3978 connected with 192.168.1.12 port 5001
[ ID] Interval Transfer Bandwidth
[1884] 0.0- 2.0 sec 72.0 KBytes 295 Kbits/sec
[1884] 2.0- 4.0 sec 8.00 KBytes 32.8 Kbits/sec
[1884] 4.0- 6.0 sec 48.0 KBytes 197 Kbits/sec
[1884] 6.0- 8.0 sec 48.0 KBytes 197 Kbits/sec
[1884] 8.0-10.0 sec 40.0 KBytes 164 Kbits/sec
Code: Select all
iperf -c 192.168.1.12 -i2
------------------------------------------------------------
Client connecting to 192.168.1.12, TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[888] local 192.168.20.22 port 2583 connected with 192.168.1.12 port 5001
[ ID] Interval Transfer Bandwidth
[888] 0.0- 2.0 sec 208 KBytes 852 Kbits/sec
[888] 2.0- 4.0 sec 240 KBytes 983 Kbits/sec
[888] 4.0- 6.0 sec 168 KBytes 688 Kbits/sec
[888] 6.0- 8.0 sec 208 KBytes 852 Kbits/sec
[888] 8.0-10.0 sec 240 KBytes 983 Kbits/sec