wont connect on TCP mode.

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
lifehacker
OpenVpn Newbie
Posts: 3
Joined: Sat Dec 21, 2013 11:50 pm

wont connect on TCP mode.

Post by lifehacker » Sun Dec 22, 2013 12:02 am

Hi,
im using the latest version which has been released for 5s.

the problem is that i can use the TCP configuration file on both windows and android, but on ios i cant !!!

in openvpn settings in phone settings.

i changed the parameters below:

protocol: adaptive
timeout: none
proxy: enabled

and filled the proxy server and port fields.

i use a squid server which doesn't require authentication information to use. [this is the same server i used on windows and android]

i'd be glad if you could help me how to fix this issue !

Thank you.

here is my configuration file.

client
dev tun

proto tcp
remote proxy-be-1.20speed.us 8090
http-proxy openvpn-tcp.20speed.us 2076

persist-key
persist-tun
resolv-retry infinite
nobind
pull

verb 3
comp-lzo

auth-user-pass account-information.txt

<ca>
ca data
</ca>

<cert>
-----BEGIN CERTIFICATE-----
cert data
</cert>

<key>
key data
</key>

and here is the error i get from the log.

2013-12-22 02:55:22 ----- OpenVPN Start (iOS 64-bit) -----
2013-12-22 02:55:22 UNUSED OPTIONS
4 [http-proxy] [server-address] [2076]
5 [persist-key]
6 [persist-tun]
7 [resolv-retry] [infinite]
8 [nobind]
9 [pull]
10 [verb] [3]

2013-12-22 02:55:22 LZO-ASYM init swap=0 asym=1
2013-12-22 02:55:22 Comp-stub init swap=0
2013-12-22 02:55:22 EVENT: RESOLVE
2013-12-22 02:55:23 Contacting server-address:2076 via HTTP Proxy
2013-12-22 02:55:23 EVENT: WAIT_PROXY
2013-12-22 02:55:24 EVENT: WAIT
2013-12-22 02:55:24 TO PROXY: CONNECT server-address:8090 HTTP/1.0

2013-12-22 02:55:24 FROM PROXY: HTTP/1.0 200 Connection established

2013-12-22 02:55:24 Connecting to server-address:8090 (server-address) via TCPv4-via-HTTP
2013-12-22 02:55:24 EVENT: CONNECTING
2013-12-22 02:55:24 Tunnel Options:V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client
2013-12-22 02:55:24 Peer Info:
IV_VER=3.0
IV_PLAT=ios
IV_NCP=1
IV_LZO_STUB=1
IV_COMP_STUB=1

2013-12-22 02:56:10 Session invalidated: KEEPALIVE_TIMEOUT
2013-12-22 02:56:10 Client terminated, restarting in 2...
2013-12-22 02:56:12 EVENT: RECONNECTING
2013-12-22 02:56:12 LZO-ASYM init swap=0 asym=1
2013-12-22 02:56:12 Comp-stub init swap=0
2013-12-22 02:56:12 Contacting server-address:2076 via HTTP Proxy
2013-12-22 02:56:12 EVENT: WAIT_PROXY
2013-12-22 02:56:13 EVENT: WAIT
2013-12-22 02:56:13 TO PROXY: CONNECT server-address:8090 HTTP/1.0

2013-12-22 02:56:13 FROM PROXY: HTTP/1.0 200 Connection established

2013-12-22 02:56:13 Connecting to server-address:8090 (server-address) via TCPv4-via-HTTP
2013-12-22 02:56:13 EVENT: CONNECTING
2013-12-22 02:56:13 Tunnel Options:V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client
2013-12-22 02:56:13 Peer Info:
IV_VER=3.0
IV_PLAT=ios
IV_NCP=1
IV_LZO_STUB=1
IV_COMP_STUB=1

masi892
OpenVpn Newbie
Posts: 3
Joined: Mon Dec 23, 2013 6:37 am

Re: wont connect on TCP mode.

Post by masi892 » Mon Dec 23, 2013 7:27 am

i have same problem with new vesion 1.0.2, when i update my open vpn to Version 1.0.2 i cannot connect with TCP, i check this problem on 3 devices, bat when i install again the old version i can connect TCP, plz help me.

Post Reply