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

You may experience some slow load times, errors, and slight inconsistencies. We ask for your patience as we finalize the launch. Thank you.

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started.

New Member

how to nat mail exchange server trought a cisco827 adsl

--begin ciscomoderator note-- The following post has been edited to remove potentially confidential information. Please refrain from posting confidential information on the site to reduce security risks to your network. -- end ciscomoderator note --

i have a cisco 827 cofigured for adsl connection and 16 public ip address

in my lan i have a mail server (exchange server ) this server have the ip 10.0.0.9 and use the port 25 i want to give a public ip for this server and the other for the other pc in my lan for that i used dynnamic nat and static nat at the same time but i cant connect to the mail server from a public ip just work on the lan

here is the configuration for the router and please help me and thank you very much !!

Router#sh run

Building configuration...

Current configuration : 1622 bytes

!

version 12.1

no service single-slot-reload-enable

no service pad

service timestamps debug uptime

service timestamps log uptime

service password-encryption

!

hostname Router

!

logging rate-limit console 10 except errors

aaa new-model

enable secret 5 xxxxxxxxxxxxxxxxx

!

username Router password 7 xxxxxxxxxxxx

mmi polling-interval 60

mmi auto-configure

no mmi pvc

mmi snmp-timeout 180

ip subnet-zero

no ip finger

no ip domain-lookup

!

ip dhcp pool client

import all

network 10.10.10.0 255.255.255.0

default-router 10.10.10.1

!

no ip dhcp-client network-discovery

!

!

!

interface Ethernet0

ip address 10.0.0.6 255.0.0.0 secondary

ip address yy.yy.yy.177 255.255.255.240

ip nat inside

hold-queue 32 in

!

interface ATM0

no ip address

no atm ilmi-keepalive

pvc 0/16 ilmi

!

bundle-enable

dsl operating-mode auto

!

interface ATM0.1 point-to-point

ip address nn.nn.nn.210 255.255.255.252

ip nat outside

pvc 8/35

vbr-nrt 640 640 1

encapsulation aal5snap

!

!

ip classless

ip route 0.0.0.0 0.0.0.0 ATM0.1

no ip http server

!

ip nat pool Router yy.yy.yy.179 yy.yy.yy.190 netmask 255.255.255.240

ip nat inside source list 1 pool Router

ip nat inside source static 10.0.0.9 yy.yy.yy.178

ip nat inside source static tcp 10.0.0.9 25 yy.yy.yy.178 25 extendable

access-list 1 deny 10.0.0.9

access-list 1 permit 10.0.0.0 0.0.0.255

access-list 101 deny tcp any any eq telnet

snmp-server manager

!

line con 0

transport input none

stopbits 1

line vty 0

password 7 xxxxxxxxxxxx

line vty 1 3

access-class 101 in

line vty 4

access-class 101 in

access-class 101 out

!

scheduler max-task-time 5000

end

  • Other Security Subjects
1 REPLY
Gold

Re: how to nat mail exchange server trought a cisco827 adsl

From my reply on the WAN/Routing/Switching Forum:

Hi -

All you need to know about config of NAT on c827 etc is here >

>http://www.cisco.com/univercd/cc/td/doc/product/access/acs_fix/826/swg/routconf.htm

Hope this helps --

89
Views
1
Helpful
1
Replies