From: jason.chan.south on
Hi all.

I am replacing my company router with a Cisco 831.
basic configuration was done, but SMTP not working well.

Here's my case:

[internet]----[ADSL modem]----[Cisco 831]----[192.168.0.x]

wan: 61.x.x.x
8 static IP 60.x.x.104 - 60.x.x.111

All internal IP(192.168.0.x) use the WAN IP to access the internet.

First problem, when I try to test the SMTP server (192.168.0.10) from
home. There are no reply at all.
I know that telnet of windows not work, I tried putty raw mode, also
no reply.
however, http work.

Second problem, how can i set route so that my SMTP server
( 192.168.0.10 ) use the dedicated static IP (60.x.x.106) to send
packet out?
Some server's junk mail filter may treat incoming mail as spam if the
server IP not match...


Here's my configration.
Please suggest and Many THANKS!



Building configuration...

Current configuration : 3691 bytes
!
version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Cisco
!
enable secret 5 $!3081723ase
!
clock timezone GMT
no aaa new-model
ip subnet-zero
ip tcp mss 1420
ip tcp path-mtu-discovery
!
!
ip audit notify log
ip audit po max-events 100
no ftp-server write-enable
!
!
interface Ethernet0
ip address 192.168.0.1 255.255.255.0 secondary
ip address 60.x.x.105 255.255.255.248
ip nat inside
ip tcp adjust-mss 1420
pppoe enable
no cdp enable
hold-queue 32 in
hold-queue 100 out
!
interface Ethernet1
no ip address
ip nat outside
ip tcp adjust-mss 1420
duplex auto
pppoe enable
pppoe-client dial-pool-number 1
no cdp enable
!
interface FastEthernet1
no ip address
duplex auto
speed auto
!
interface FastEthernet2
no ip address
duplex auto
speed auto
!
interface FastEthernet3
no ip address
duplex auto
speed auto
!
interface FastEthernet4
no ip address
duplex auto
speed auto
!
interface Dialer1
ip address negotiated
ip access-group 101 in
ip mtu 1492
ip nat outside
encapsulation ppp
no ip route-cache
ip tcp adjust-mss 1420
no ip mroute-cache
dialer pool 1
no cdp enable
ppp authentication pap callin
ppp pap sent-username 528123(a)ISP1 password 7 3123871289
!
ip nat pool wanpool 60.x.x.106 60.x.x.110 netmask 255.255.255.248
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source static tcp 192.168.0.10 25 60.x.x.106 25
extendable
ip nat inside source static tcp 192.168.0.10 80 60.x.x.106 80
extendable

ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
no ip http secure-server
!
access-list 1 permit 192.168.0.0 0.0.0.255
access-list 101 permit ip any any
no cdp run
!
line con 0
exec-timeout 120 0
password 7 xxxxxxxxxxxxxxxxxxx
login
no modem enable
stopbits 1
line aux 0
stopbits 1
line vty 0 4
exec-timeout 120 0
password 7 xxxxxxxxxxxxxxx
login
length 0
!
scheduler max-task-time 5000
sntp server 202.123.165.147
!
end