Please don't reply outside of maillist. Press "reply list" or "reply all" 
instead of usual "reply".


On 26.09.2015 15:44, Nikolaos Milas wrote:
> On 26/9/2015 2:21 μμ, ValdikSS wrote:
>
>
> Thank you much for your advice!

No problem.

>
> I guess I could rather switch to TCP. I've heard it might also provide better 
> performance overall. (Is it true?)

It depends. Some people say that TCP over TCP is not a very good idea and they 
probably right, but it should be fine in most times.
Make sure to prevent OpenVPN from setting buffer sizes!
Add:

sndbuf 0
rcvbuf 0

in both server and client configs and you'll probably get the same speed as 
with UDP.
(for more information, see ticket 
https://community.openvpn.net/openvpn/ticket/461)

>
> Would it be enough to change the setting from "proto UDP" to "proto TCP" 
> (both on server and clients)?

Yes.

>
> Alternatively, is there a way to offer connectivity over both TCP and UDP 
> server-side, so the client selects the protocol?

As far as I know, there is no way to use both TCP and UDP with one daemon. You 
should run two daemons, one for UDP and one for TCP. They could have the same
configuration but only with different proto.

>
> Any suggestions from literature or experience will be welcome!
>
> All the best,
> Nick


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to