Thank you for the response, TinCanTech!
TinCanTech wroteRyeuu wroteWould using TAP over TUN be better here?
Definitely not .. tun is more efficient than tap. Same with --
proto UDP vs TCP, UDP is
much faster.
Ah, I thought so. Yep, definitely keeping that UDP for gaming.
TinCanTech wroteOK. 5mb up is crucial to your setup, all you can do is pay for more bandwidth. A LAN game would probably expect 100mbit but I think your game is designed to use the internet.
Oh, no no. I can push 5mb UP because my own/home internet is only 100/5 in speed. Using their server speed test, I'm able to get ~50Mbit UP, so I don't think that's an issue. Yep! The game is an online/internet game and not LAN.
TinCanTech wroteWRT all MTU settings (Also --mssfix & --fragment), unless you know what you are doing I would allow Openvpn to work this out itself. I doubt you have the sort of problem which can be effected by these settings.
I see.. does OpenVPN work everything out without any extra commands like --
mtu-test? Removing all MTU settings makes my issue even worse :/ If my problem isn't affected by MTU, I don't know what could possibly be affecting it.
TinCanTech wroteWRT Performance,
- --nice may help, although it does not throw an error, I am not sure this makes any difference to windows. You can always use Windows Task manager to set high priority and/or CPU affinity.
- --mlock may help, again no error in windows, my test suggest it may make a tiny difference
- --fast-io may help but can only be used on *nix
- --verb 0 to limit log output to only fatal errors
- --sndbuf / --rcvbuf and --txqueuelen may help .. you will have to experiment
- --comp-lzo no and --comp-noadapt may help
I've tried/worked with affinity and priority before. Didn't seem to make a difference. CPU Usage on the OpenVPN Server didn't seem high either when in use. I'll give --
fast-io a shot though. Everything else I've used already (sndbuf, rcvbuf, txqueuelen, comp-lzo, comp-noadapt).
TinCanTech wroteOther ideas:
Static key and go even further by removing the static key (If security is of zero concern).
It definitely isn't, so I might give this a shot. I don't think I need anymore speed on the VPN, as it can forward so much data (90/50 mbit).
TinCanTech wroteIf your router supports openvpn then offload the VPN process to the router .. that is just a suggestion, I have no data to backup if it would work any faster.
Yes, actually! I flashed DD-WRT a while ago on my R7000. I was thinking about using my router as the OpenVPN Client instead, but as this VPN is not only for me (and my friend doesn't have an OpenVPN compatible router), I would prefer not to use it.
I also should've provided this information before, but was unable to edit and didn't want to spam the thread. My home client is in Perth and the OpenVPN Server is hosted on a VPS in Singapore. The game server is in Taiwan.