cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
293
Views
0
Helpful
3
Replies

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

wanglei
Level 1
Level 1

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 3

nkhawaja
Cisco Employee
Cisco Employee

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

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?

use bi direcational NAT instead of static.

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: