Hi everyone,
I'm trying to set up a VPN connection between a server and an Android tablet.
All my setup is working with a PC, here is my server config file :
##########################
# Configuration serveur
##########################
port 1194
proto udp
dev-type tun
dev tun0
persist-key
persist-tun
keepalive 10 120
server 192.168.24.0 255.255.255.0
max-clients 5
client-to-client
push "redirect-gateway def1"
comp-lzo
tcp-queue-limit 256
##########################
# ssl
##########################
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh1024.pem
##########################
# log
##########################
verb 4
status openvpn-status.log
Here is my android client config file :
############################
# Configuration Client
############################
client
dev tun
proto udp
remote 192.168.0.33 1194
persist-key
persist-tun
push "redirect-gateway def1"
comp-lzo
############################
# SSL
############################
ca /sdcard/openvpn/ca.crt
cert /sdcard/openvpn/client_andro.crt
key /sdcard/openvpn/client_andro.key
When I'm tring to connect my tablet to the openvpn server using Android Connect, logs says :
EVENT RECONNECTING
EVENT RESOLVE
Contacting X.X.X.X:port via UDP
EVENT WAIT
Transport error : socket_protect error (UDP)
Client terminated
OpenVPN server logs says nothing about an incomming connection.
I do not found any explanations about this error... Can you please give me some highlights ?
Thanks.