Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.
New Member

how can i use public ip access my lan server from internal?

i have a pix with two interface.one for internal.another for outside.my mail server is located inside.i have config alias command translate mail private ip to public ip.now i can use private ip ,domain name(for example mail.aaa.com)access mail server from inside.but i can't use mail public ip access from inside.how to implement this function?

any help will be apreciate.

3 REPLIES
Silver

Re: how can i use public ip access my lan server from internal?

alias command will only work if your DNS server is outside the FW.

New Member

Re: how can i use public ip access my lan server from internal?

yes,the dns server is out of pix.i can use dns name success.but when i use public ip.it doesn't work.

someone tell me use this two command together,but i 'm not sure it will work well.

alias(inside) 192.168.1.1 61.182.30.1 255.255.255.255

alias(inside) 61.182.30.1 192.168.1.1 255.255.255.255

the first is for dns access.when pix receive dns reply ,looking for if the ip is 61.182.30.1,then translate is to 192.168.1.1

the second is for public ip access.it's dnat.when a pakeg's destination ip is 61.182.30.1.then the destination ip will tranlate to 192.168.1.1

does someone have some ideas?

Silver

Re: how can i use public ip access my lan server from internal?

use bi direcational NAT instead of static.

basically you will only be able to use DNS and not the public IP address directly.

123
Views
0
Helpful
3
Replies
CreatePlease to create content