Future OpenVPN version will ignore –cipher for cipher negotiations. Would you be so kind and give me a hint about what would I need to try differently? In UDP setup my OpenVPN does not connect. I followed your tutorial, surfed, and tried almost every google hit and documentation without a working solution. My scenario is that I have working OpenVpn service on MT through TCP and for the throughput reason, I would like to change (try) it to UDP. You just change Protocol value to udp, update your client side with the same change (albeit for proto field) and you're done.īut, in the interest of completeness, let's see how one would create such config from scratch.įirst we create all the certificate templates (give it at least 10 years validity): Getting UDP enabled for OpenVPN server once you get Mikrotik 7.1 or higher running is trivial assuming you have OpenVPN via TCP already configured. I would say switching to UDP was well worth the effort for my use case. My speed went from about 400 Kbps to 1000 Kbps just due to this change (tested using 2 parallel connections). How big the difference is? Well, I have a connection between USA and Croatia and it leaks like a sieve. If you have a stable connection chances are you really don't need to care - OpenVPN via TCP will serve you without any issues.īut, if you are dealing with multiple connections over a high latency and/or lossy network, UDP will be much faster as lost packets for one connection will not impact the other. With Mikrotik RouterOS 7 finally being released earlier this year, we at last got an UDP support for OpenVPN.įor some people UDP/TCP difference might not matter much. Despite UDP being ubiquitous on pretty much any other OpenVPN platform, for a long while Mikrotik only supported TCP variant.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |