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.
Openvpn-as configuration problems behind a router
-
- OpenVpn Newbie
- Posts: 1
- Joined: Mon May 06, 2013 12:33 am
-
- OpenVpn Newbie
- Posts: 6
- Joined: Wed May 01, 2013 9:50 pm
Re: Openvpn-as configuration problems behind a router
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.
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.