Hi,
I know there are many other topics with similar problems and I tried many of the solutions, but none worked.
My current OVPN setup:
Laptop (Win7), Server (Ubuntu 14.04) in same LAN (Gigabit) with router (with DynDNS entry).
Second PC (Win7), which has to be integrated via OVPN, another location. Because of that I need the DynDNS.
File transfer speeds were tested with putty scp.
Laptop -> Server:
Lan pure: 14.0 MB/s (acceptable value for me.)
Connecting via DynDNS: 3.0 MB/s (still pretty ok.)
OpenVPN via LAN IP: 5.5 MB/s
OpenVPN via DynDNS: 0.2 MB/s (very bad if you want to do backups using that connection)
set tun-MTU to 1272: 0.2 MB/s (thats the highest MTU possible without splitting packets, determined via "ping -f -l", set on both: laptop and server)
Server -> Laptop:
OpenVPN via DynDNS: 3.5 MB/s (that way it is much better!)
I already changed the MTU size in the tap adapter settings, but no change.
Maybe you know a solution to this.
Thanks,
BadTenMan
My configs:
Server:
local 192.168.178.28
port 1194
proto udp
dev tun
tun-mtu 1272
ca ./easy-rsa2/keys/ca.crt
cert ./easy-rsa2/keys/server.crt
key ./easy-rsa2/keys/server.key # This file should be kept secret
dh ./easy-rsa2/keys/dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
Laptop:
client
dev tun
tun-mtu 1272
proto udp
remote <<my DNS-Address>> <<Port>>
remote-cert-tls server
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert Laptop.crt
key Laptop.key
ns-cert-type server
comp-lzo
verb 3