Hi, I'm hoping maybe someone can help me out on this one?
I have a single 2514 router that is routing between a 192.168.100.0 /24 network & and 166.79.55.128 /26 network (not a real public IP - just for test).
The routers Ethernet interfaces are configured as follows:
Eth0: 166.79.55.132 /26
Eth1: 192.168.100.5 /24
What I want to do create an ACL on the Eth1 interface that stops all traffic from the 192.168.100.x network from getting into the 166.79.55.132 /26 network (EXCEPT the following ports):
tcp 80
tcp 60010
tcp 5060
tcp 3333
tcp 1525
udp snmp
tcp range 42152 65536
I want to allow all traffic from the 166.79.55.132 network to be able to reach the 192.168.100.x network. Could someone help me out. Does the ACL below look correct for what I'm trying to accomplish? or do I have the IP addresses going the wrong direction?
access-list 102 permit ip 166.41.80.128 0.0.0.63 any
access-list 102 deny ip any any log
access-list 103 permit tcp 192.168.100.0 0.0.0.255 host 166.79.55.132 0.0.0.63 eq www
access-list 103 permit tcp 192.168.100.0 0.0.0.255 host 166.79.55.132 0.0.0.63 eq 60010
access-list 103 permit tcp 192.168.100.0 0.0.0.255 host 166.79.55.132 0.0.0.63 eq 5060
access-list 103 permit tcp 192.168.100.0 0.0.0.255 host 166.79.55.132 0.0.0.63 eq 3333
access-list 103 permit tcp 192.168.100.0 0.0.0.255 host 166.79.55.132 0.0.0.63 eq 1525
access-list 103 permit udp 192.168.100.0 0.0.0.255 host 166.79.55.132 0.0.0.63 eq snmp
access-list 103 permit udp 192.168.100.0 0.0.0.255 host 166.79.55.132 0.0.0.63 eq range 42152 65535
access-list 103 deny ip any any log
int eth1
access-list 102 in
access-list 103 out
THANKS!!!