OpenVPN & Android Config File Problem

How to customize and extend your OpenVPN installation.
Post Reply
mkruluts
OpenVpn Newbie
Posts: 8
Joined: Tue Oct 04, 2011 8:07 pm

OpenVPN & Android Config File Problem

Post by mkruluts » Tue Oct 04, 2011 8:40 pm

Ok. I have a situation where OpenVPN is the only thing that will allow me to get VPN working with my router and Android device. I have installed it on a windows server 2003 box but moved it to a windows xp box when I thought that was the reason why it wasn't working. Unfortunately my problem still persists. I don't know if its in the configurations or what, but for some reason my android phone will connect but will not assign me a IP for me to access resources on my remote network. Port forwarding is also set in the router for UDP on 1194. Please take a look at the below setup and let me know what I am doing wrong.

The following is what my server.opvpn file contains:

## server.ovpn ##
local 192.168.0.128
port 1194
proto udp
mssfix 1400
push "dhcp-option DNS 68.87.75.198" ## DNS from ISP
push "dhcp-option DNS 68.87.64.150" ## DNS from ISP
dev tun
ca ca.crt
cert widget.crt
key widget.key
dh dh1024.pem
server 192.168.10.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway 192.168.0.1"
keepalive 10 120
comp-lzo
max-clients 4
persist-key
persist-tun
status openvpn-status.log
verb 3

The following is what my server.opvpn file contains:

## kti.ovpn ##
client
proto udp
dev tun
remote kti-online.net 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert kti.crt
key kti.key
comp-lzo
verb 3

Here are some screen shots of my setup for OpenVPN:

Image

Image

Image

Image

Post Reply