Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Poor OpenVPN performance on ER-X

$
0
0

I've got a few ER-X'es and decided to run OpenVPN as a test. It seems to drop a lot of packets. 

 

Here's my config

 

set interfaces openvpn vtun0 device-type tap
set interfaces openvpn vtun0 mode client
set interfaces openvpn vtun0 openvpn-option '--proto tcp'
set interfaces openvpn vtun0 openvpn-option --persist-key
set interfaces openvpn vtun0 openvpn-option --persist-tun
set interfaces openvpn vtun0 openvpn-option '--keepalive 8 30'
set interfaces openvpn vtun0 openvpn-option --comp-lzo
set interfaces openvpn vtun0 openvpn-option '--remote-cert-tls server'
set interfaces openvpn vtun0 openvpn-option '--verb 3'
set interfaces openvpn vtun0 openvpn-option '--port 1221'
set interfaces openvpn vtun0 remote-host 1.1.1.1
set interfaces openvpn vtun0 tls ca-cert-file /config/auth/ca.acme.org.crt
set interfaces openvpn vtun0 tls cert-file /config/auth/erx.acme.org.crt
set interfaces openvpn vtun0 tls key-file /config/auth/erx.acme.org.key

 

This is a setup I've used travelling all over the globe on my main laptop (Windows) for years, and it has proven to work very well. I know it's TCP (and TCP on TCP, timers, etc) and a non-standard port, but on a Windows machine this works well up to any hotel bandwidth I've had.

 

Now, the same setup on the ER-X (running 1.9.1) seems to have an issue carrying a running ping; it drops about 50% of the packets, and if I fire up OpenVPN on my Windows machine on a client port on the ER-X it runs without loss whatsoever with a running ping.

 

Any takers on what I have done that is potentially making the ER-X unhappy?

 

-A


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>