IDC private network--OpenVPN server(1.1.1.1)--OpenVPN client(2.2.2.2)--Office private network
But the OpenVPN connection auto-restarted very often:
Tue Nov 6 10:47:49 2012 Preserving previous TUN/TAP instance: tun1
Tue Nov 6 10:47:49 2012 Initialization Sequence Completed
Tue Nov 6 10:50:27 2012 [server] Inactivity timeout (--ping-restart), restarting
Tue Nov 6 10:50:27 2012 TCP/UDP: Closing socket
Tue Nov 6 10:50:27 2012 SIGUSR1[soft,ping-restart] received, process restarting
Tue Nov 6 10:50:27 2012 Restart pause, 2 second(s)
The connection speed never exceeded 5 Mbps (our office's bandwidth is 100 Mbps).The connection always stalled during the first MB of a file transfer.
I googled for a long time, tried every possible fix of this problem: changed MTU size, upgraded OpenVPN software, modified the configuration of the core switch. No use at all. I doubted that it is the internet connection of our office that causes the problem.