Hi all,
I've got a problem using the alias command.
Here is the context :
- My web server is connected to a DMZ, using a private IP address (192.168.3.3)
- A static command is used to allow external users to access this web server with a public IP address (212.x.y.z)
- Local clients (addressed in 125.a.b.c) do use address translation to connect to the internet, but should not be translated when connecting to the web server (192.168.3.0/24) using this acl/nat/global command set :
access-list nonat permit ip any 192.168.3.0 255.255.255.0
nat (inside) 0 access-list nonat
nat (inside) 1 125.0.0.0 255.0.0.0
global (outside) 1 a.b.c.d - e.f.g.h
To allow internal users to access the web server using the fqdn ( I put this alias command :
alias (inside) real_server_ip server_global_ip
Once this command has been set, I get a the right answer to the DNS request (real_server_ip). But then, I cannot reach the server from the inside interface anymore.
I used the debug mode and found out that the packet whose dest IP is 192.168.3.3 is emitted on the outside interface instead of the DMZ !!!
Can anybody help ?
Thanks.
Phil.
I've got a problem using the alias command.
Here is the context :
- My web server is connected to a DMZ, using a private IP address (192.168.3.3)
- A static command is used to allow external users to access this web server with a public IP address (212.x.y.z)
- Local clients (addressed in 125.a.b.c) do use address translation to connect to the internet, but should not be translated when connecting to the web server (192.168.3.0/24) using this acl/nat/global command set :
access-list nonat permit ip any 192.168.3.0 255.255.255.0
nat (inside) 0 access-list nonat
nat (inside) 1 125.0.0.0 255.0.0.0
global (outside) 1 a.b.c.d - e.f.g.h
To allow internal users to access the web server using the fqdn ( I put this alias command :
alias (inside) real_server_ip server_global_ip
Once this command has been set, I get a the right answer to the DNS request (real_server_ip). But then, I cannot reach the server from the inside interface anymore.
I used the debug mode and found out that the packet whose dest IP is 192.168.3.3 is emitted on the outside interface instead of the DMZ !!!
Can anybody help ?
Thanks.
Phil.