Currently Being ModeratedApr 7, 2013 12:20 PM (in response to hvail)
Are you sure that the domain name resolves to the external address of your gateway from outside the network? Can you ping the gateway? Can you access other services on the server, such as SSH?
Currently Being ModeratedApr 7, 2013 1:32 PM (in response to hvail)
does your domain name resolve correctly outside of your lan to your external IP address
make sure the network your connecting from in a different range to your server lan
make sure the correct VPN ports are open and forwaded to your server
does the network your connecting from allow VPN connections
check the server logs when you connect remotely
Currently Being ModeratedApr 8, 2013 6:44 AM (in response to Linc Davis)
Linc, thank you for you reply. Please bear with me here.
I presume my "gateway" is my router. I can ping to the external address of the router
Could you help me resolve the domain name to the external address of the router? This sounds like the error.
Currently Being ModeratedApr 9, 2013 5:28 AM (in response to Linc Davis)
I went outside of my network, used the "dig -x 10.0.1.xxx " command (this is my server address) and got the following message.
"connection timed out; no servers could be reached"
Should I have been looking at the router address from the outside?
clearly I cannot resolve the name of the router from outside.
Currently Being ModeratedApr 9, 2013 6:13 AM (in response to hvail)
The 10.x.x.x range is a private range which is always translated to somewhere local to whatever network you're on, and cannot be accessed from outside your local network. In other words, I can use any address in 10.x.x.x for whatever I want, and none of your computers can talk to it. And you can use any address in 10.x.x.x for whatever you want, and none of my computers can talk to it. Private addresses are usually assigned to devices intended for internal use only, like internal routers and printers.
In order to have a computer accessible from outside your private network you will need to assign it an address in a public range. If you don't understand what this involves talk to your ISP or other connectivity supplier.
Currently Being ModeratedApr 9, 2013 7:10 AM (in response to hvail)
I was suggesting you try to look up the domain name of the router, not its IP address. In any case, the private IP address is not accessible from outside the network. But beyond that, you seem to be using an internal DNS server that itself is not accessible from outside the network.
Simon Slavin is correct. You will need to register a domain name (or a dynamic DNS name, if your external IP address is dynamic) and direct it to the gateway. Then you'll need to forward certain ports to your VPN server. OS X Server takes care of that automatically if the gateway is an Apple device.
Currently Being ModeratedApr 9, 2013 12:20 PM (in response to Simon Slavin)
I am sorry I haven't been clear here. I have a registered name it is groupvail.net. I have OS X server set up for Private use and am trying to access this through VPN. As I have said, my gateway is an Apple Device and my server is OS X Mountain Lion. The ports are set for DNS and VPN.
Currently Being ModeratedApr 11, 2013 6:55 AM (in response to Linc Davis)
No, 50.63.202..48 does not resolve to my gateway. I went to my ISP and received a static address that should resolve for groupvail.net.private and put it in as the "VPN Host Name" in my server. Is that correct? Should it go in anywhere else i.e., in the DNS section of my server?
Currently Being ModeratedApr 11, 2013 7:23 AM (in response to hvail)
"groupvail.net.private" is not a registered domain name, so what it resolves to inside your network is irrelevant. To reach the server from outside your network, use either the static external IP address of the gateway, or a registered name that resolves to that address.
Currently Being ModeratedApr 12, 2013 3:54 PM (in response to Linc Davis)
Linc, this solved my problem. Once I got the correct static IP address from the ISP it works great. Thank you for your patience and perseverance. I can certainly see why you are a level 9.