Android 2 VPNs only 1 has internet access?

Post Reply
shadoom
OpenVpn Newbie
Posts: 2
Joined: Fri Feb 01, 2013 6:17 am

Android 2 VPNs only 1 has internet access?

Post by shadoom » Fri Feb 01, 2013 6:25 am

Hey,

I have two servers with openvpn-as on them one in the US and one in the UK.
The UK one is set up for a quite some time the US one is brand new.

I set the US one exactly up like I did with the UK one. Both work fine in Windows 7 64bit and Ubuntu 12.10 64bit.

On Android however only the UK one works here are the log files for both:

USA (Not Working on Android): http://pastebin.com/2CV7HsGv
UK (Working on Android): http://pastebin.com/gCFgejXs

I went through them several times but couldn't find any difference.

When I connect to the USA one on my Android Device (4.1.2-stock) I simply get no connection to any service/website.

Does anyone know why one would work and the other one not? Also why do they all work on Windows/Ubuntu?

ovpn files:

usa(not working)

Code: Select all

# Automatically generated OpenVPN client config file
# Generated on Fri Feb  1 00:41:26 2013 by xxxxx.net
# Note: this config file contains inline private keys
#       and therefore should be kept confidential!
# Note: this configuration is user-locked to the username below
# OVPN_ACCESS_SERVER_USERNAME=xxx
# Define the profile name of this particular configuration file
# OVPN_ACCESS_SERVER_PROFILE=xxx@xxxx/AUTOLOGIN
# OVPN_ACCESS_SERVER_AUTOLOGIN=1
# OVPN_ACCESS_SERVER_CLI_PREF_ALLOW_WEB_IMPORT=True
# OVPN_ACCESS_SERVER_CLI_PREF_ENABLE_CONNECT=True
# OVPN_ACCESS_SERVER_CLI_PREF_ENABLE_XD_PROXY=True
# OVPN_ACCESS_SERVER_WSHOST=xxxx:1194
# OVPN_ACCESS_SERVER_WEB_CA_BUNDLE_START
# -----BEGIN CERTIFICATE-----
# -----END CERTIFICATE-----
# OVPN_ACCESS_SERVER_WEB_CA_BUNDLE_STOP
# OVPN_ACCESS_SERVER_IS_OPENVPN_WEB_CA=0
# OVPN_ACCESS_SERVER_ORGANIZATION=OpenVPN Technologies, Inc.
setenv FORWARD_COMPATIBLE 1
client
server-poll-timeout 4
nobind
remote xxx 1194 udp
remote xxx 1194 udp
remote xxx 1194 tcp
remote xxx 1194 udp
remote xxx 1194 udp
remote xxx 1194 udp
remote xxx 1194 udp
remote xxx 1194 udp
dev tun
dev-type tun
ns-cert-type server
reneg-sec 604800
sndbuf 100000
rcvbuf 100000
# NOTE: LZO commands are pushed by the Access Server at connect time.
# NOTE: The below line doesn't disable LZO.
comp-lzo no
verb 3
setenv PUSH_PEER_INFO

<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>

<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>

<key>
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
</key>

key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key (Server Agent)
#
-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----
</tls-auth>

## -----BEGIN RSA SIGNATURE-----
## DIGEST:sha256
## -----END RSA SIGNATURE-----
## -----BEGIN CERTIFICATE-----
## -----END CERTIFICATE-----
## -----BEGIN CERTIFICATE-----
## -----END CERTIFICATE-----
UK(working)

Code: Select all

# Automatically generated OpenVPN client config file
# Generated on Fri Feb  1 06:41:44 2013 by xxxxx.com
# Note: this config file contains inline private keys
#       and therefore should be kept confidential!
# Note: this configuration is user-locked to the username below
# OVPN_ACCESS_SERVER_USERNAME=xxx
# Define the profile name of this particular configuration file
# OVPN_ACCESS_SERVER_PROFILE=xxxx@xxxx/AUTOLOGIN
# OVPN_ACCESS_SERVER_AUTOLOGIN=1
# OVPN_ACCESS_SERVER_CLI_PREF_ALLOW_WEB_IMPORT=True
# OVPN_ACCESS_SERVER_CLI_PREF_ENABLE_CONNECT=True
# OVPN_ACCESS_SERVER_CLI_PREF_ENABLE_XD_PROXY=True
# OVPN_ACCESS_SERVER_WSHOST=xxxx:444
# OVPN_ACCESS_SERVER_WEB_CA_BUNDLE_START
# -----BEGIN CERTIFICATE-----
# -----END CERTIFICATE-----
# OVPN_ACCESS_SERVER_WEB_CA_BUNDLE_STOP
# OVPN_ACCESS_SERVER_IS_OPENVPN_WEB_CA=1
# OVPN_ACCESS_SERVER_ORGANIZATION=OpenVPN Technologies, Inc.
setenv FORWARD_COMPATIBLE 1
client
server-poll-timeout 4
nobind
remote xxx 1194 udp
remote xxx 1194 udp
remote xxx 444 tcp
remote xxx 1194 udp
remote xxx 1194 udp
remote xxx 1194 udp
remote xxx 1194 udp
remote xxx 1194 udp
dev tun
dev-type tun
ns-cert-type server
reneg-sec 604800
sndbuf 100000
rcvbuf 100000
# NOTE: LZO commands are pushed by the Access Server at connect time.
# NOTE: The below line doesn't disable LZO.
comp-lzo no
verb 3
setenv PUSH_PEER_INFO

<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>

<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>

<key>
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
</key>

key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key (Server Agent)
#
-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----
</tls-auth>

## -----BEGIN RSA SIGNATURE-----
## DIGEST:sha512
## -----END RSA SIGNATURE-----
## -----BEGIN CERTIFICATE-----
## -----END CERTIFICATE-----
## -----BEGIN CERTIFICATE-----
## -----END CERTIFICATE-----

shadoom
OpenVpn Newbie
Posts: 2
Joined: Fri Feb 01, 2013 6:17 am

Re: Android 2 VPNs only 1 has internet access?

Post by shadoom » Fri Feb 01, 2013 6:43 am

edit: I forgot to mention when importing the ovpn file into the connector it says:
Image

Post Reply