Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 878 SDSL Mail Server Behind router

Status
Not open for further replies.

Dudbolt

IS-IT--Management
Nov 28, 2002
19
GB
Folks,

I've used Cisco SDM to setup the above router. Everything works apart from allowing email traffic into the network to a mail server behind the router. The main router has an ip address of xxx.xxx.xxx.xxx and the mx record is one less than this. I used the NAT wizard to set up a static route but it doesnt appear to work. Is there a decent guide to setting up the router/firewall via SDM? Cisco docs are not very good. Also, what command will all icmp pings from the internet to be returned? There must be an acl stopping them on the router.

Regards

Garrett
 
Below is the config from the router. Because of the legacy network we run a public internal ip range. Not good i know put resources are not provided to change this. I have removed the first 3 octets of the external ip's. ***.***.***.134 is the router address, ***.***.***.133 is the mail mx address, ***.***.***.128 is the network address. 152.27.1.206 is the internal address of the mailserver.

Regards

Garrett

**********************************************************
!This is the running config of the router: 152.27.1.233
!----------------------------------------------------------------------------
!version 12.3
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service sequence-numbers
!
hostname border_router
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 debugging
logging console critical
enable secret
!
username
clock timezone PCTime 0
clock summer-time PCTime date Mar 30 2003 1:00 Oct 26 2003 2:00
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
aaa session-id common
ip subnet-zero
no ip source-route
ip cef
!
!
ip inspect name SDM_LOW ftp
ip inspect name SDM_LOW h323
ip inspect name SDM_LOW icmp
ip inspect name SDM_LOW rcmd
ip inspect name SDM_LOW esmtp
ip inspect name SDM_LOW sqlnet
ip inspect name SDM_LOW tftp
ip inspect name SDM_LOW tcp
ip inspect name SDM_LOW udp
ip inspect name SDM_LOW cuseeme
ip inspect name SDM_LOW netshow
ip inspect name SDM_LOW realaudio
ip inspect name SDM_LOW rtsp
ip inspect name SDM_LOW streamworks
ip inspect name SDM_LOW vdolive
ip tcp synwait-time 10
no ip bootp server
ip domain name odis.local
ip name-server 152.27.1.206
ip ssh time-out 60
ip ssh authentication-retries 2
no ftp-server write-enable
!
!
!
!
controller DSL 0
mode atm
line-term cpe
line-mode 2-wire line-zero
dsl-mode shdsl symmetric annex B
line-rate auto
!
!
crypto isakmp policy 1
encr 3des
authentication pre-share
group 2
crypto isakmp key remoteaccess1 address 0.0.0.0 0.0.0.0
!
!
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
!
!
interface BRI0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
ip route-cache flow
shutdown
no cdp enable
!
interface ATM0
no ip address
no atm ilmi-keepalive
!
interface ATM0.1 point-to-point
description $ES_WAN$$FW_OUTSIDE$
pvc 0/38
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0
no ip address
no cdp enable
!
interface FastEthernet1
no ip address
no cdp enable
!
interface FastEthernet2
no ip address
no cdp enable
!
interface FastEthernet3
no ip address
no cdp enable
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$$ES_LAN$$FW_INSIDE$
ip address 152.27.1.233 255.255.0.0
ip access-group 104 in
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
ip route-cache flow
ip tcp adjust-mss 1452
!
interface Dialer0
description $FW_OUTSIDE$
ip address ***.***.***.134 255.255.255.248
ip access-group 105 in
no ip redirects
no ip unreachables
no ip proxy-arp
ip mtu 1452
ip inspect SDM_LOW out
ip nat outside
ip virtual-reassembly
encapsulation ppp
ip route-cache flow
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap callin
ppp chap hostname
ppp chap password
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
!
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 5 life 86400 requests 10000
ip nat inside source list 2 interface Dialer0 overload
ip nat inside source route-map SDM_RMAP_1 interface Dialer0 overload
!
logging trap debugging
access-list 1 remark INSIDE_IF=Vlan1
access-list 1 remark SDM_ACL Category=2
access-list 1 permit 152.27.0.0 0.0.255.255
access-list 2 remark SDM_ACL Category=2
access-list 2 permit 152.28.0.0 0.0.255.255
access-list 2 permit 152.32.0.0 0.0.255.255
access-list 2 permit 152.30.0.0 0.0.255.255
access-list 2 permit 152.31.0.0 0.0.255.255
access-list 2 permit 152.33.0.0 0.0.255.255
access-list 2 permit 152.29.0.0 0.0.255.255
access-list 100 remark auto generated by SDM firewall configuration
access-list 100 remark SDM_ACL Category=1
access-list 100 permit udp host 152.27.1.206 eq domain any
access-list 100 deny ip ***.***.***.128 0.0.0.7 any
access-list 100 deny ip host 255.255.255.255 any
access-list 100 deny ip 127.0.0.0 0.255.255.255 any
access-list 100 permit ip any any
access-list 101 remark auto generated by SDM firewall configuration
access-list 101 remark SDM_ACL Category=1
access-list 101 permit tcp any host ***.***.***.133 eq smtp
access-list 101 remark IPSec Rule
access-list 101 permit ip 152.27.0.0 0.0.255.255 ***.***.***.128 0.0.0.7
access-list 101 permit udp any host ***.***.***.134 eq non500-isakmp
access-list 101 permit udp any host ***.***.***.134 eq isakmp
access-list 101 permit esp any host ***.***.***.134
access-list 101 permit ahp any host ***.***.***.134
access-list 101 deny ip 152.27.0.0 0.0.255.255 any
access-list 101 permit icmp any host ***.***.***.134 echo-reply
access-list 101 permit icmp any host ***.***.***.134 time-exceeded
access-list 101 permit icmp any host ***.***.***.134 unreachable
access-list 101 deny ip 10.0.0.0 0.255.255.255 any
access-list 101 deny ip 172.16.0.0 0.15.255.255 any
access-list 101 deny ip 192.168.0.0 0.0.255.255 any
access-list 101 deny ip 127.0.0.0 0.255.255.255 any
access-list 101 deny ip host 255.255.255.255 any
access-list 101 deny ip host 0.0.0.0 any
access-list 101 deny ip any any log
access-list 102 remark SDM_ACL Category=4
access-list 102 remark IPSec Rule
access-list 102 permit ip ***.***.***.128 0.0.0.7 152.27.0.0 0.0.255.255
access-list 103 remark SDM_ACL Category=2
access-list 103 remark IPSec Rule
access-list 103 deny ip ***.***.***.128 0.0.0.7 152.27.0.0 0.0.255.255
access-list 103 permit ip 152.27.0.0 0.0.255.255 any
access-list 104 remark auto generated by SDM firewall configuration
access-list 104 remark SDM_ACL Category=1
access-list 104 permit icmp any host ***.***.***.133
access-list 104 deny ip ***.***.***.128 0.0.0.7 any
access-list 104 deny ip host 255.255.255.255 any
access-list 104 deny ip 127.0.0.0 0.255.255.255 any
access-list 104 permit ip any any
access-list 105 remark auto generated by SDM firewall configuration
access-list 105 remark SDM_ACL Category=1
access-list 105 permit tcp any host ***.***.***.133 eq smtp
access-list 105 deny ip 152.27.0.0 0.0.255.255 any
access-list 105 permit icmp any host ***.***.***.134 echo-reply
access-list 105 permit icmp any host ***.***.***.134 time-exceeded
access-list 105 permit icmp any host ***.***.***.134 unreachable
access-list 105 deny ip 10.0.0.0 0.255.255.255 any
access-list 105 deny ip 172.16.0.0 0.15.255.255 any
access-list 105 deny ip 192.168.0.0 0.0.255.255 any
access-list 105 deny ip 127.0.0.0 0.255.255.255 any
access-list 105 deny ip host 255.255.255.255 any
access-list 105 deny ip host 0.0.0.0 any
access-list 105 deny ip any any log
dialer-list 1 protocol ip permit
no cdp run
route-map SDM_RMAP_1 permit 1
match ip address 103
!
!
control-plane
!
banner login ^CAuthorized access only!
Disconnect IMMEDIATELY if you are not an authorized user!^C
!
line con 0
no modem enable
transport preferred all
transport output telnet
line aux 0
transport preferred all
transport output telnet
line vty 0 4
transport preferred all
transport input telnet ssh
transport output all
!
scheduler max-task-time 5000
scheduler allocate 4000 1000
scheduler interval 500
end
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top