I’ve been setting up an OS X Server 10.6.4 box with two ethernet ports with en0 on the LAN and en2 plugged into my cable modem getting a public IP via DHCP from my ISP. So far just about everything works: NAT, DHCP, DNS and I even got port forwarding to work when making a request outside my network. However I still have some issues I’d like to solve.
First and foremost the VPN service in Mac OS X Server seems to have some issues, clients connect just fine and can access the LAN but only by IP. I am correctly passing the IP of the DNS server (192.168.1.1) to the client but for some reason DNS just doesn’t work. I’ve been reading elsewhere that there is some kind of problem where a client on a VPN can talk to any machine except the VPN server itself. Since the VPN server is also the DNS server, this could cause problems. The question is how to fix it.
The second issue is that I want VPN clients to be able to access the internet via NAT just as if they were inside the network, this problem could be related to the lack of DNS but upon looking at the settings for the VPN connection on the client they are not receiving the IP for the gateway (which would also be 192.169.1.1) so that is probably a problem on top of the lack of DNS.
Finally the strangest problem is that port forwarding does not work for machines in my network accessing services via public IP. I know this is a kind of strange thing to expect to work but most routers can do this and it is important since I want my iPhone to be able to access this webpage using the same URL (which points to my public IP) regardless of if I’m on the LAN or not.
Hopefully I’ll be able to get all 3 of the above issues solved. Thanks in advance to anyone who can help.
Comments are closed