Mapping ip address to specified domain name instead of using its public ip address for LAN
I've this mail server name mail.abc.com 202.134.89.20 on DMZ before. Now it becomes NAT mapping to another internet public address (e.g.) 220.111.222.89.
Now the other site clients (winxp) will access DMZ server through VPN by adding route. When they access IP 202.134.89.20, it will pass through VPN.
But all client's email program already use mail.abc.com as Mail server and they will resolved it as 220.111.222.89 which is internet address.
How can I make mail.abc.com record mapping to 202.134.89.20 for these clients? How should I add it on Windows 20003 DNS server? Or need to add mapping ip in host file for all clients. Please kindly advise.
May 31st, 2011 10:08am
If I understand the configuration correctly, after the VPN is in place users will connect to mail.abc.com who's IP is still 202.134.89.20 but the connection is made via the VPN. If so you can leave DNS the way it is and add a router to the gateway for the
client site, or to each client machine such as
route -p add 202.134.89.20 mask 255.255.255.255 123.123.123.123
where 123.123.123.123 is the VPN gateway address at the client site. This will simply route any traffic destined for 202.134.89.20 via the VPN rather than the internet.Rob Williams
Free Windows Admin Tool Kit Click here and download it now
May 31st, 2011 8:45pm
Hi EcoAxis,
Agree with Rob , you can also customize VPN client connection by using CMAK in order to automatically add these route entry and update route table when VPN connection
be established on client side:
Including routing table updates
http://technet.microsoft.com/en-us/library/cc786752(WS.10).aspx
Thanks.
Tiger Li
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
June 1st, 2011 2:44am