I've set up an OpenVPN server on a VPS running Centos 5.7 via UDP. Clients connect to it on boot and if-up, get issued a 10.5.5.x address. The server runs mail, samba and jabber servers. OpenVPN is set up so that clients can see each other, so ping, jabber, ssh, scp, etc. work. The tun interface is for this subnet only, so normal internet traffic doesn't get routed. All clients are Ubuntu 11.10.
I'm having issues with network traffic though. It seems that whenever there is a larger amount of data to be transferred (scp peer-to-peer, sending larger mail attachments to the server, file transfer via Pidgin/XMPP, VNC peer-to-peer) the activities time out. At least I think they do, because the activity just hangs. For example:
user@somehost:~$ scp Desktop/ss.png firstname.lastname@example.org:/home/otheruser/Desktop/ ss.png 100% 849KB 848.7KB/s 00:00
and it just hangs there. ctrl-c doesn't work. smaller files go trough without a problem. scp'ing that file to the server and then scp'ing it to the intended peer works.
Ping latency over VPN (client to server) varies from 90 to 300 ms, depending on client.
So I'd appreciate some pointers on stuff to read up on regarding tweaking the network settings so that all intended transfers go trough as intended.