Slow Speeds Asus router to Windows Client over TAP

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
wacind
OpenVpn Newbie
Posts: 2
Joined: Tue Aug 22, 2017 2:45 pm

Slow Speeds Asus router to Windows Client over TAP

Post by wacind » Tue Aug 22, 2017 3:00 pm

Hi

Issue: My Server has a Download/Upload speed of 330Mbps/25Mbps. My Client side has a Download/Upload speed of 25Mbps/5Mbps. However, I am only getting 1-2 Mbps speeds between the two. I've tried various values for sndbuf, rcvbuf and fragment but mostly get 2Mbps or less when transferring files

I have an Asus AC1900 router on my server side with OpenVPN configured to TAP-UDP. I am not sure how to export the server.ovpn from the router but here is a sceenshot of my settings.

SERVER:
Image

CLIENT:
client
client
dev tap
# Windows needs the TAP-Win32 adapter name
# from the Network Connections panel
# if you have more than one. On XP SP2,
# you may need to disable the firewall
# for the TAP adapter.
;dev-node MyTap
proto udp
remote xxx.xxx.xxx.xxx 1294
float
comp-lzo adaptive
keepalive 15 60
auth-user-pass
ns-cert-type server
fragment 1200
mssfix 1200
sndbuf 2000000
rcvbuf 2000000

I'd like to obviously love to get upwards of 10-15Mbps transfers between the two. Anything I can adjust/change here. I've also tried TCP but get similarly slow speeds

Thanks

wacind
OpenVpn Newbie
Posts: 2
Joined: Tue Aug 22, 2017 2:45 pm

Re: Slow Speeds Asus router to Windows Client over TAP

Post by wacind » Tue Aug 22, 2017 8:38 pm

So i tried setting up a server on a windows box instead of the router but am still getting at most 2 Mbps between the two

Server:
server
port 3996
proto udp
fragment 1200
fragment 1200
sndbuf 2000000
rcvbuf 2000000
dev tap
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key"
dh "C:\\Program Files\\OpenVPN\\config\\dh4096.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
cipher AES-256-CBC
persist-key
persist-tun
status openvpn-status.log
verb 3
explicit-exit-notify 1
client
client
dev tap
dev-node MyTap
proto udp
remote xxx.xxx.xxx.xxx 3996
fragment 1200
fragment 1200
sndbuf 2000000
rcvbuf 2000000
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\raj-htpc.crt"
key "C:\\Program Files\\OpenVPN\\config\\raj-htpc.key"
remote-cert-tls server
cipher AES-256-CBC
verb 3
any suggestions how to improve the transfer speed?

Thanks

sinister
OpenVpn Newbie
Posts: 11
Joined: Thu May 10, 2018 9:26 pm

Re: Slow Speeds Asus router to Windows Client over TAP

Post by sinister » Thu May 24, 2018 10:21 pm

did you ever figure out what was causing this issue ? id love to know

Post Reply