I have a VPN going between two locations roughly 20 miles apart, both are on gigabit internet with 500Mbps upload. I get roughly 1.7MB/s average both ways which is pitifully slow. I cannot figure out how to fix this.
Here's my [edited] config:
{
"Default": {
"admin_ui.https.ip_address": "all",
"admin_ui.https.port": "943",
"auth.ldap.0.name": "My LDAP servers",
"auth.ldap.0.ssl_verify": "never",
"auth.ldap.0.timeout": "4",
"auth.ldap.0.use_ssl": "never",
"auth.module.type": "pam",
"auth.pam.0.service": "openvpnas",
"auth.radius.0.acct_enable": "false",
"auth.radius.0.name": "My Radius servers",
"cs.cws_proto_v2": "true",
"cs.https.ip_address": "all",
"cs.https.port": "943",
"cs.prof_sign_web": "true",
"cs.ssl_method": "SSLv3",
"cs.tls_version_min": "1.0",
"host.name": "",
"sa.initial_run_groups.0": "web_group",
"sa.initial_run_groups.1": "openvpn_group",
"vpn.client.routing.inter_client": "false",
"vpn.client.routing.reroute_dns": "true",
"vpn.client.routing.reroute_gw": "true",
"vpn.daemon.0.client.netmask_bits": "20",
"vpn.daemon.0.client.network": "",
"vpn.daemon.0.listen.ip_address": "all",
"vpn.daemon.0.listen.port": "9443",
"vpn.daemon.0.listen.protocol": "tcp",
"vpn.daemon.0.server.ip_address": "all",
"vpn.server.daemon.enable": "true",
"vpn.server.daemon.tcp.n_daemons": 4,
"vpn.server.daemon.tcp.port": "9443",
"vpn.server.daemon.udp.n_daemons": 4,
"vpn.server.daemon.udp.port": "1194",
"vpn.server.group_pool.0": "",
"vpn.server.port_share.enable": "true",
"vpn.server.port_share.ip_address": "1.2.3.4",
"vpn.server.port_share.port": "1234",
"vpn.server.port_share.service": "admin+client",
"vpn.server.routing.private_access": "nat",
"vpn.server.routing.private_network.0": "",
"vpn.server.routing.private_network.1": "",
"vpn.tls_refresh.do_reauth": "true",
"vpn.tls_refresh.interval": "360"
},
"_INTERNAL": {
"run_api.active_profile": "Default",
"webui.edit_profile": "Default"
}
}
I tried doing this following, but had no effect:
https://lowendtalk.com/discussion/40099/why-openvpn-is-so-slow-cool-story
I tried:
sndbuf 0
rcvbuf 0
and:
"sndbuf": "0"
"rcvbuf": "0"
For whatever reason my config file seems formatted different and contains different things than most? I am using an OpenVPN plugin for unraid.
Can anyone help please?