Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 734
  • Last Modified:

PDM shows problem, must replace alias with outside nat / bi-directional-nat. with server in dmz interface

Hi,

We have a pix 515E with a web- and mail server in the DMZ.
For our inside users we want to use the external host name for retriving mail, so i inserted the alias command which works perfectly so far i know..

But when running the PDM it says the alias cmd is not longer supported and that it should be replaced with Outside Nat / Bi-directional-NAT

i have tried adding dns to the static cmd, but that doesnt work.
What to do now?

fixup protocol dns maximum-length 512
name 10.1.1.10 Webserver
access-list acl_out permit tcp any host 195.xxx.xxx.195 eq www
access-list DMZ_outbound_nat0_acl permit ip 10.1.1.0 255.255.255.0 192.168.1.0 255.255.255.0 
global (outside) 10 195.xxx.xxx.196
global (DMZ) 10 195.xxx.xxx.195
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 10 192.168.0.0 255.255.255.0 0 0
nat (DMZ) 10 10.1.1.0 255.255.255.0 0 0
alias (inside) 195.xxx.xxx.195 10.1.1.10 255.255.255.255
static (DMZ,outside) 195.xxx.xxx.195 10.1.1.10 dns netmask 255.255.255.255 0 0 
access-group acl_out in interface outside
sysopt noproxyarp inside
 
As i look now, i don't see any nat 0 for the DMZ.. maybe my solution lies here..

Open in new window

0
Rick
Asked:
Rick
  • 3
  • 2
  • 2
1 Solution
 
lrmooreCommented:
>For our inside users we want to use the external host name for retriving mail,
The BEST thing to do instead of making the pix jump through hoops, is to setup your internal dns so that the inside users use the private IP of the server and only external users use the public ip address.
0
 
RickAuthor Commented:
Hey,

We used to have 2 dns domains in our Active Directory that where available in our remote branch offices also.
Because we used to have intranet websites that where sub-domains within our company-website domain, there where some problems for the branch offices to reach our servers in the main DMZ thru VPN...

Therefore we decided to remove our company-website domain from the DNS servers and move our intranet websites to the AD domain..

The alias cmd seemed to worked fine, except for the PDM warning..  
When we receive a memory upgrade for the PIX (wthin a few weeks) I want to upgrade to version 7 and then later 8, so i think fixing the alias problem will be of importance.



0
 
Voltz-dkCommented:
I'm a bit puzzled about 195.x.x.195 is mapped on outside and also is a global on the DMZ - but assuming everything is ok,
try:

static (DMZ,inside) 195.xxx.xxx.195 10.1.1.10
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
lrmooreCommented:
Voltz-dk, wouldn't the syntax for that be reversed ?

static (DMZ,inside) 10.1.1.10  195.xxx.xxx.195 netmask 255.255.255.255

0
 
Voltz-dkCommented:
It's

static (<real>,<mapped>) <mapped> <real>

real being DMZ & 10.1.1.10, while mapped is inside & 195.x.x.195

unless some masquerading of the config threw me off - as mentioned some of it looks a bit odd in terms of which nets are on which ifs. (or I have missed the goal?)
0
 
RickAuthor Commented:
It works!

These are the 2 static statements i have now:
static (DMZ,inside) 195.73.191.195 10.1.1.10 netmask 255.255.255.255 0 0       // The new rule
static (DMZ,outside) 195.73.191.195 10.1.1.10 netmask 255.255.255.255 0 0

Does it matter if the dns statement is included? After clearing the dns word and doing a 'clear xlate' everything works...

How can the new rule be explained?

Thnx for solving my case!

Regards,
Rick
Amsterdam
0
 
Voltz-dkCommented:
The use of the dns keyword depends on the location of the dns server.  If that is on the inside, so the dns doesn't traverse the pix it have no value.

The new "rule" is an outside static NAT, stating that when 10.1.1.10 goes towards inside it should be NATed to the 195 addy.  Static NAT is bi-directional, so this mean traffic from inside towards 195-addy will have the destination NATed to 10.1.1.10 which was the goal here.
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now