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

Port forwarding on Cisco 2811 Router

James Leo
Level 1
Level 1

Hi, I am not sure if I am posting in the right section but I have a little problem with NAT I believe.

Basically the problem that I have is that I have a new Exchange server sitting on 192.168.12.2 IP address and on the router I have this NAT enabled

ip nat inside source static tcp 192.168.12.2 110 212.115.5.5 110 extendable

ip nat inside source static tcp 192.168.12.2 25 212.115.5.5 25 extendable

The Exchange can receieve emails but it will not send them. It cannot make connection to any of the smart hosts on port 25 or can't even send mail using DNS. When I run telnet my.smarthost.com 25 it will not connect but if I run that from the router then it connects fine.

Any ideas what I should do or what it could be?

Many thanks

1 Reply 1

stephen.stack
Level 4
Level 4

Try this

Ip nat inside source static 192.168.12.2 212.115.5.5 25 extendable

Ie remove the 25 after the 12.2 ip address in the nat statement. I think this will only nat outbound connections if sourced on port 25.

Else try a debug ip nat on the router and telnet to your smart host from the exch server to see what's going on. Don't forget to turn off the debug with an undebug all.

Stephen

Sent from Cisco Technical Support iPad App

========================== http://www.rconfig.com A free, open source network device configuration management tool, customizable to your needs! - Always vote on an answer if you found it helpful