I noticed today that file transfers to pushed routes are extremely slow (10kbs < x < 40kb/s). I've tried using rsync, scp, and nc, all with the same results.
Topology: [me] <--> [vpn] <--> [lanMachine]
Bandwidth: My upload is 10Mb/s. vpn WAN download 2Gb/s (dedicated). Everything on the VPN LAN side is 1Gb/s. (switches, NICs, cables, etc)
CPU Usage: negligible (my computer hovering at 5% , VPN: <1%)
Packet size during transfer: 1356B
When I transfer the file directly to the WAN interface of [lanMachine] I get roughly 10mb/s. When I transfer the file from [lanMachine2] to [lanMachine] on the LAN interfaces I get roughly 1Gb/s. So I'm sure the neither bandwidth nor hardware is the issue.
Any suggestions?
# Server Config
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 10.10.4.0 255.255.255.0"
keepalive 10 120
persist-key
persist-tun
status openvpn-status.log
log-append /var/log/openvpn.log
verb 3
# Client config
client
dev tun
proto udp
remote 111.111.111.111 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert oneKey.crt
key oneKey.key
ns-cert-type server
verb 3