09-13-2022 01:10 AM
如图,在局域网内是没有DNS的,客户端是通过ASA dhcp下发的外部DNS地址。内部网络中有一台服务器,和客户端是在同一个局域网中,现在的要求是Client可以通过计算机名(或域名)demo.mydomain.com 访问www server,应该如何配置ASA?Client数据太多,编辑host文件的方法不适用。
09-13-2022 01:24 AM
重要的一点是 www server 不能发布到internet上
09-13-2022 01:37 AM
Hey.
Have a look on these link cisco already showed the configuration of this setup
09-13-2022 01:52 AM - edited 09-13-2022 01:55 AM
Depends on if you want the server to gets back to the client with its public or private IP address you can apply one of the following solutions:
To be able to reach the internal server with its public IP and get the replies sourcing from the server's public IP:
nat (inside,inside) source dynamic < LAN subnet object > interface destination static < Server public IP object > < Server private IP object >
nat (inside,outside) source static < Server private IP object > < Server public IP object >
nat (inside,outside) after-auto source dynamic < LAN subnet object > interface
To be able to reach the internal server with its public IP and get the replies sourcing from the server's private IP:
nat (inside,any) source static < Server private IP object > < Server public IP object >
nat (inside,outside) source dynamic < LAN subnet object > interface
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide