I would like the networks that are connected to Hermes-Router to be accessible from all the other stations only when I use ping and traceroute. I tried to do this using an ACL(access-list 122) on the se2/0 interface of Bono-Router(this is the serial interface that connects Hermes and Bono). The execution of the "show running-config" command on the Bono-Router is shown below:
Router#show running-config
Building configuration...
Current configuration : 1255 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
ip cef
no ipv6 cef
!
!
interface FastEthernet0/0
ip address 172.16.128.1 255.255.224.0
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 143.233.173.2 255.255.255.252
ip access-group 121 out
duplex auto
speed auto
!
interface Serial2/0
ip address 174.166.1.1 255.255.255.252
ip access-group 122 out
!
interface Serial3/0
ip address 192.168.1.2 255.255.255.252
clock rate 2000000
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router ospf 500
log-adjacency-changes
network 172.16.128.0 0.0.31.255 area 0
network 174.166.1.0 0.0.0.3 area 0
network 192.168.1.0 0.0.0.3 area 0
default-information originate
!
ip classless
ip route 192.168.1.0 255.255.255.248 143.233.173.1
ip route 143.233.173.0 255.255.255.252 143.233.173.1
ip route 0.0.0.0 0.0.0.0 143.233.173.1
!
ip flow-export version 9
!
!
access-list 121 permit tcp any any eq www
access-list 121 deny ip any any
access-list 122 permit icmp any any
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
After applying access-list 122 to se2/0 of Bono-Router, I successfully used ping and traceroute from PC-E to PC-A and from PC-A to PC-E. Unfortunately when I'm trying to access the webpage of Server0 from PC-E using its web browser I get the "Request Time Out" message shown below:
I would appreciated if someone could share his idea about this problem with me. Thank you all in advance for your help!!!
ip access-group 122 in
?permit tcp any any eq www
towards a web server you need to apply apermit tcp any eq www any
away from the server (unless you simply allow everything). The same goes for ICMP. This is exactly what Ron is pointing out.