[Solved]constant reconnect problem
Posted: Mon Apr 27, 2015 10:51 am
Hi all,
I am using OpenVPN Connect on Samsung S4 with 5.0.1 android,
The problem is when i connect to my office server(always successfully) i can't ping anything, nor to connect on any server in office, when i try to connect i get disconnected and then the app tries a reconnect and says again that it is a success but same problem pops, again the reconnect... i think i isolated the problem within the logs so any help with setting it up will be appreciated:
The log file errors:
On my phone i am using a unified .ovpn file :
my server config is:
Thank you again for help, any info will be appreciated
I am using OpenVPN Connect on Samsung S4 with 5.0.1 android,
The problem is when i connect to my office server(always successfully) i can't ping anything, nor to connect on any server in office, when i try to connect i get disconnected and then the app tries a reconnect and says again that it is a success but same problem pops, again the reconnect... i think i isolated the problem within the logs so any help with setting it up will be appreciated:
The log file errors:
Code: Select all
Mon Apr 27 10:28:52 2015 212.200.65.245:27290 WARNING: 'keysize' is used inconsistently, local='keysize 256', remote='keysize 128'
Mon Apr 27 10:29:33 2015 Ios_Test/212.200.65.245:27290 Authenticate/Decrypt packet error: cipher final failed
Mon Apr 27 10:29:43 2015 Ios_Test/212.200.65.245:27290 Authenticate/Decrypt packet error: cipher final failed
Mon Apr 27 10:29:53 2015 read UDPv4 [ECONNREFUSED]: Connection refused (code=111)
Code: Select all
tls-client
dev tun
remote MyServIP 1194
resolv-retry infinite
explicit-exit-notify 3
nobind
persist-key
persist-tun
cipher BF-CBC
keysize 256
comp-lzo
verb 1
<ca>
-----BEGIN CERTIFICATE-----
my ca...
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
my crt
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
my key
-----END RSA PRIVATE KEY-----
</key>
ns-cert-type server
key-direction 1
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
my serv key...
-----END OpenVPN Static key V1-----
</tls-auth>
pull
Code: Select all
tls-client
dev tun0
remote MyIP 1194
resolv-retry infinite
explicit-exit-notify 3
nobind
persist-key
persist-tun
ca ca.crt
cert certName
key KeyName
ns-cert-type server
tls-auth KeyName 1
cipher BF-CBC
keysize 256
comp-lzo
verb 1
log-append /var/log/openvpn/openvpn.log
status /var/log/openvpn/status.log 10
pull