Page 1 of 1

first time in OpenVPN can't make the connection

Posted: Mon Aug 23, 2010 11:33 am
by Teo
Hi all,
Want the simplest way (and less secure) and followed "Static Key Mini-HOWTO":
I installed the server on a win server 2003 which is inside an office which has a Router with external IP like:
23.74.159.24; I want in the final end to connect to this server from home!
on the router Wireless LINKSYS (used only wired, though), I have a table for "port range forward" in which I added a line with port: 1194 on both direction to go to the local IP of the server (10.1.1.14);
I generated a key on the server: static.key
I installed the client open vpn on my computer at home from where I intend to connect in the future.
I copied the file static.key from the server in my computer in a folder I made which I made (C:\Program Files\OpenVPN Technologies\OpenVPN Client\config). In the same folder I made a client.ovpn:

remote 23.74.159.24
dev tun
ifconfig 10.1.1.13 10.1.1.14
secret static.key

IP: 10.1.1.13 is not used and is in the range of static IPs in the router (which has the DHCP over 10.1.1.100)

The server.ovpn on the server (in the same folder-config...already existent from instalation) with the static.key is:

dev tun
ifconfig 10.1.1.14 10.1.1.13
secret static.key

When I try to run openvpn on the server side (with GUI) it seems to work, but when I run the client it fails with:
"Unable to obtain Session ID from 23.74.159.24:443: XML-RPC: None."

I have to add the fact that I tried it from the same LAN (to adjust things).
Could it be because I am inside the lan of the server with my client, yet?

Thanks for any help.