Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

Smtp server on DMZ, Web access with a 827

I use a 827 to connect to internet (with nat overlaod).

The connexion gives a public IP address. I use a private Ip address on ethernet0 on the router and another one on the outside interface of the pix.

I have two other Public IP addresses.

I want to use one to host a smtp server on the dmz using a static(dmz, outside) "pubic ip adress" "private dmz ip address"

I am having problems presenting the public ip address of the smtp server on Internet.

The connexcion from inside to the dmz is Ok (static).

The connexion from dmz to outside is ok, i can send mail.

The connexion from inside to outside is ok, i can surf.

Can someone help me.



Cisco Employee

Re: Smtp server on DMZ, Web access with a 827

Is this a PIX or an 827 router? The static command is for a PIX, but you mention you have an 827.

Anyway, for a PIX you'd do:

static (inside,dmz) netmask 0 0

access-list from-outside permit tcp any host eq 25

access-group from-outside in interface outside

For an 827 you'd do:

ip nat inside source static

and then allow that traffic in if you have an access-list.

CreatePlease to create content