Hi
I'm running an OpenVPN server on my Netgear router. It's running in TUN mode and I can connect to it. The problem with my android phone (Nexus 4, Android 4.2.2 Cyanogenmod 10.1.3) is that the connection breaks up every 40s or so.
Also my Internet connection is super slow. I think the traffic is routed to my VPN server, is that correct? It kinda makes no sense tho because I still have the external IP address of where I actually am.
I think it's better to use TAP right? I want to be able to connect to my NAS and in the FAQ it said that TAP makes it possible to talk to other machines in that network. Also the traffic isn't routes though my VPN server I think.. Is that right?
I haven't had the opportunity to test it on a PC
Connection issues on Android
-
- OpenVpn Newbie
- Posts: 5
- Joined: Fri Feb 28, 2014 5:06 pm
-
- OpenVpn Newbie
- Posts: 5
- Joined: Fri Feb 28, 2014 5:06 pm
Re: AW: Connection issues on Android
I just tried it with a PC and I have the same issue.. Disconnect after a couple of seconds.
I previously had a install on my NAS, which worked fine, also in tun mode I think. Everything loaded up fast without disconnects on any device.
I previously had a install on my NAS, which worked fine, also in tun mode I think. Everything loaded up fast without disconnects on any device.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Fri Feb 28, 2014 5:06 pm
Re: AW: Connection issues on Android
# Sample client-side OpenVPN 2.0 config file #
client
dev tun
proto udp
#change remote to your static ip
#or domain name for your freenas server
remote xxxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert test.crt
key test.key
ns-cert-type server
comp-lzo
script-security 2 system
Client config. Cannot poste the server config right now.
Where is the log file saved at?
-
- OpenVpn Newbie
- Posts: 5
- Joined: Fri Feb 28, 2014 5:06 pm
Re: AW: Connection issues on Android
I only have a phone here right now. This is what it says during the disconnect:
Sessions invalidated
Keepalive_timeout
Client terminated, restarting in 2
Sessions invalidated
Keepalive_timeout
Client terminated, restarting in 2