Low speed with tcp proto
Posted: Sun May 22, 2011 10:41 am
Good day to all.
I have OpenVPN 2.2.0 under Linux. I need to use tcp protocol, because I need to access my home server (this is Synology NAS if it needed) from my work, but I can only access it though http proxy.
If I test this scenario even from my _home_ network, file copy speed is 6-8 times slower than under udp protocol.
Is this normal? What can I do to improve performance with tcp?
My server config:
port 8080
proto tcp
dev tun
ca ca.crt
cert 192.168.1.110.crt
key 192.168.1.110.key
dh dh1024.pem
topology subnet
# local 192.168.3.110
server 192.168.2.0 255.255.255.0
push "route 192.168.3.0 255.255.255.0"
client-to-client
keepalive 20 180
comp-lzo
max-clients 10
# tun-mtu 1300
# mssfix
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
log-append openvpn.log
verb 3
mute 20
Thank you.
I have OpenVPN 2.2.0 under Linux. I need to use tcp protocol, because I need to access my home server (this is Synology NAS if it needed) from my work, but I can only access it though http proxy.
If I test this scenario even from my _home_ network, file copy speed is 6-8 times slower than under udp protocol.
Is this normal? What can I do to improve performance with tcp?
My server config:
port 8080
proto tcp
dev tun
ca ca.crt
cert 192.168.1.110.crt
key 192.168.1.110.key
dh dh1024.pem
topology subnet
# local 192.168.3.110
server 192.168.2.0 255.255.255.0
push "route 192.168.3.0 255.255.255.0"
client-to-client
keepalive 20 180
comp-lzo
max-clients 10
# tun-mtu 1300
# mssfix
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
log-append openvpn.log
verb 3
mute 20
Thank you.