Bandwith Problem

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Entorse
OpenVpn Newbie
Posts: 1
Joined: Thu Sep 08, 2011 3:37 pm

Bandwith Problem

Post by Entorse » Thu Sep 08, 2011 3:53 pm

I installed an openvpn server in Proxmox kvm.
But I have some problems with network bandwidth.

On one machine to anotherwith scp and without vpn tunnel I get the following rate: 30.6 MB / s (228.00 Mbps)
but I get only with the VPN tunnel: 10.4 MB / s (83.20 Mbps)

Is this normal?
What rate of network loss did you have with openvpn?

What can t be done to improve this?

Enclosed is my setup openvpn:

server:
port 1194
resolv-retry 0
proto udp
dev tap0
tls-server
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh1024.pem
server-bridge 10.0.1.11 255.255.255.0 10.0.1.12 10.0.1.20
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 60
tls-auth /etc/openvpn/ta.key 0
comp-lzo no
ping-timer-rem
#tls-exit
max-clients 5
persist-key
persist-tun
status /home/openvpn-status.log
verb 3
log-append /home/openvpn.log
tun-mtu 1500
tun-mtu-extra 32
mssfix 1400
nice -1
fast-io
cipher none
client:
tls-client
resolv-retry 0
port 1194
dev tap0
proto udp
remote [erver ip ]
askpass /etc/openvpn/key.txt
nobind
user nobody
group nogroup
persist-key
persist-tun
ping-restart 30
ca /etc/openvpn/ca.crt
cert /etc/openvpn/client.crt
key /etc/openvpn/client.key
ns-cert-type server
tls-auth /etc/openvpn/ta.key 1
comp-lzo no
tun-mtu 1500
tun-mtu-extra 32
mssfix 1400
verb 3
log-append /var/log/openvpn.log
nice -1
fast-io
cipher none

Thank you for your answers:)

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Bandwith Problem

Post by janjust » Thu Sep 08, 2011 10:23 pm

this is what bridging does to your performance - try to NOT use a bridge, performance should be ~80% of the normal line (depending on tweaks).

Post Reply