I need some assistance in creating an access list that will allow only port 23 in Serial0 to a static LAN IP of 192.168.0.10. All other ports on that IP should be blocked. Also, I do have a NATPOOL working on the router however I did not include that in the configuration as I figured it wouldn't be necessary to create my access-list. The NATPOOL will block incoming connections because they will drop at the public WAN IP of the router. Below is an example of my router's configuration:
version 12.2
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname CISCO1720
!
enable secret [enablepassword]
!
memory-size iomem 25
ip subnet-zero
ip name-server 199.224.86.20
no ip dhcp conflict logging
ip dhcp excluded-address 192.168.1.1 192.168.1.10
!
ip dhcp pool DHCPPOOL
network 192.168.1.0 255.255.255.0
domain-name epix.net
dns-server 199.224.86.15 199.224.86.16
default-router 192.168.1.1
!
!
!
!
interface FastEthernet0
ip address 192.168.1.1 255.255.255.0
ip nat inside
speed auto
!
interface Serial0
description 320K Fractional T1 to ISP
ip address 10.0.0.2 255.255.255.252
ip nat outside
no fair-queue
service-module t1 timeslots 1-5
no cdp enable
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.0.0.1
no ip http server
!
line con 0
password [consolepassword]
login
line aux 0
line vty 0 4
password [telnet password]
login
!
end
Thanks,
Rich
version 12.2
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname CISCO1720
!
enable secret [enablepassword]
!
memory-size iomem 25
ip subnet-zero
ip name-server 199.224.86.20
no ip dhcp conflict logging
ip dhcp excluded-address 192.168.1.1 192.168.1.10
!
ip dhcp pool DHCPPOOL
network 192.168.1.0 255.255.255.0
domain-name epix.net
dns-server 199.224.86.15 199.224.86.16
default-router 192.168.1.1
!
!
!
!
interface FastEthernet0
ip address 192.168.1.1 255.255.255.0
ip nat inside
speed auto
!
interface Serial0
description 320K Fractional T1 to ISP
ip address 10.0.0.2 255.255.255.252
ip nat outside
no fair-queue
service-module t1 timeslots 1-5
no cdp enable
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.0.0.1
no ip http server
!
line con 0
password [consolepassword]
login
line aux 0
line vty 0 4
password [telnet password]
login
!
end
Thanks,
Rich