What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

OpenVPN problem - 66R and Android

Shike

New Around Here
Greetings,

I'm having problems getting my android phone to work properly with OpenVPN on my AC66R and trying to figure out what's going wrong.

The router is using 376.45 and my Android Client is OpenVPN Client since it offers tap support (phone is Moto Droid Maxx - 4.4.4 - Verizon)

I can connect fine, but when I redirect traffic to internet through my gateway it works for a couple pages then starts hanging on UDP till it reconnects. With TCP I have to reconnect after every page request so I'm constantly bouncing between connected/disconnected to the VPN.

Export of client file:

client
dev tap
# Windows needs the TAP-Win32 adapter name
# from the Network Connections panel
# if you have more than one. On XP SP2,
# you may need to disable the firewall
# for the TAP adapter.
;dev-node MyTap
proto udp
remote (removed) 1194
float
comp-lzo adaptive
keepalive 15 60
auth-user-pass
ns-cert-type server

Server side settings:

Interface Type: TAP
Protocol: UDP
Port: 1194
Firewall: Auto
Authorization: TLS
Username/Password Authentication: Yes
Username / Password Auth. Only: Yes
Extra HMAC authorization (tls-auth): Disable
Allocate from DHCP: Yes
Poll Interval( 0 to disable): 0
Direct clients to redirect Internet traffic: Yes
Respond to DNS: Yes
Advertise DNS to clients: Yes
Encryption cipher: Default
Compression: Adaptive
TLS Renegotiation Time( -1 for default ): -1
Manage Client-Specific Options: No



Other options on CLIENT:

Use tap device
Pull configuration
Set LZO compression adaptive
Set keepalive: ping every 15 restart after 60 (seconds)
Routing: redirect gateway



Any ideas?
 
Yes.
I'd suggest using tun/tcp for android mobile devices.
I personally like tap/udp.
But my experience of trying to get it working for smartphones says: you'd better use tun.

I've tried that and it still results in numerous disconnects/reconnects.

Any idea why I can't stay connected?
 
Strange.
Anything interesting in logs?
Try this option:
Code:
tun-mtu 1400
when using tun/tcp
 
Android doesn't support TAP, IIRC.
 
Android kitkat uses different techniques than previous versions. I used openvpn on my asus tf300t with tap without any problem. I've updated it to crombi 4.4.3, and ever since that I could not use dns from my network, and had reconnects and could not really use openvpn anymore.

After loads of testing and frustration I was on the brink of reverting back to the previous android version, until I found openvpn client by colucci.

I bought openvpn client by colucci, and that runs flawless. You cannot test tap without buying it, but if it does not work you have 15 minutes to claim your money back.

hope this helps.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top