cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
400
Views
0
Helpful
1
Replies

Smtp server on DMZ, Web access with a 827

bquily
Level 1
Level 1

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.

Thanks

Bruno

1 Reply 1

gfullage
Cisco Employee
Cisco Employee

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 255.255.255.255 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.

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: