I'm running the OpenVPN server on port 443, so that I can run it in the AWS cloud and connect to it from my company's intranet. The OpenVPN server is a Windows 8 server, but is not the LAN gateway.
Everything seems to work (I can ping)... until I enable IP Forwarding (in the registry) and enable the "Routing and Remote Access" Windows service on my OpenVPN server. If I do that and start OpenVPN I get the following error:
"Sun Feb 02 23:21:31 2014 us=277280 TCP/UDP: Socket bind failed on local address [undef]: Permission denied (WSAEACCES)
Sun Feb 02 23:21:31 2014 us=277280 Exiting due to fatal error"
I'm doing this because I have a number of other servers in AWS that I'm trying to make enable to my client machine at work. In mentions in the OpenVPN "How-To" document that IP forwarding must be enabled:
http://openvpn.net/index.php/open-source/documentation/howto.html
"Next, you must set up a route on the server-side LAN gateway to route the VPN client subnet (10.8.0.0/24) to the OpenVPN server (this is only necessary if the OpenVPN server and the LAN gateway are different machines).
Make sure that you've enabled IP and TUN/TAP forwarding on the OpenVPN server machine."
Reading up on IP forwarding, I read on Microsoft's site that you should modify a key in the registry and then enable the Routing service.
So my questions are:
1. Do I need to run the Routing service? (I can't verify whether I need to since I haven't been able to get it to work yet, with or without the service)
2. Any idea why they don't work together? Is it my specific configuration, or should we update the How-To docs?
Thanks!