Openvpn-as configuration problems behind a router

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
Openvpn-Tim
OpenVpn Newbie
Posts: 1
Joined: Mon May 06, 2013 12:33 am

Openvpn-as configuration problems behind a router

Post by Openvpn-Tim » Thu May 09, 2013 4:22 am

I am trying to configure an openvpn server on Ubuntu 12.4 behind a router with a dynamic IP address. I set up a dynamic name with a Dynamic DNS. I went through the setup steps from openvpn how-to but when I run the connectivity test from openvpn-as it fails. I went back through the setup steps and the only thing that I am unsure of is, that when I did the configuration I selected the network card that was using the dynamic IP address that is assigned to it by my router rather than all interfaces.

Summary -
1. My router has an IP address that is assigned via dhcp by my ISP.

2. My system where I am trying to set up the openvpn server has an IP address that is assigned to it by my router using dhcp.

3. When I set up the openvpn I entered the dynamic name that was configured on the Dynamic DNS using the IP address that was assigned by my ISP.

Any help in getting the server to work is appreciated.

Thanks in advance.

sksbir
OpenVpn Newbie
Posts: 6
Joined: Wed May 01, 2013 9:50 pm

Re: Openvpn-as configuration problems behind a router

Post by sksbir » Thu May 09, 2013 12:52 pm

hello
I suggest you to try first to connect to your openvpn server from within the local network the server is located.

To be abe to contact your server from outside your lan, you have to configure your router in order to add a route to your server, something like "route all incomming traffic which is coming on port 1194 to machine XXXXX" where XXXXX is your openvpn server.

Post Reply