garrisb
Guest
|
Posted:
Sat Dec 10, 2005 4:33 am Post subject:
Re: Access List Allow Traffic From a Public IP and port |
|
|
Just need to understand you acl in order to say if it's right or
not....
Is this an Internet facing router? If so....
Is there a reason you're allowing ports like 23 and such from the
general internet? maybe a better way is to deny all and then allow
only what you need specifically....
If you require a terminal type access, I would use SSH...
do you really want port 389 or did you mean 3389 (remote desktop)
For 80.207.109.x, If this is from the internet, you should have a
device doing network translation for your "10.10.10.101" system...
ie...
using something like this is less burdensome but can accomplish the
same thing I THINK you're trying to achieve...( you can lock this down
even further... this says "if it's not one of the listed denys... allow
it)
!
interface <ADD INTERFACE>
ip access-group spooke in
!
ip access-list extended spooke
remark "EXAMPLE ACL"
deny ip any 0.0.0.0 0.255.255.255 log-input
deny ip any 10.0.0.0 0.255.255.255 log-input
deny ip any 127.0.0.0 0.255.255.255 log-input
deny ip any 169.254.0.0 0.0.255.255 log-input
deny ip any 172.16.0.0 0.15.255.255 log-input
deny ip any 192.0.2.0 0.0.0.255 log-input
deny ip any 192.168.0.0 0.0.255.255 log-input
deny ip any 224.0.0.0 7.255.255.255 log-input
deny ip any 255.0.0.0 0.255.255.255 log-input
deny ip any host 255.255.255.255 log-input
deny 55 any any log-input
deny 77 any any log-input
deny pim any any log-input
permit tcp host <ADD TELNET SPECIFIC IP FOR HOST/Pair fi you need
telnet otherwise, use ssh> eq telnet
deny tcp any any eq telnet log-input
deny tcp any any eq 135 log-input
deny udp any any eq 135 log-input
deny tcp any any eq 137 log-input
deny udp any any eq 137 log-input
deny tcp any any eq 139 log-input
deny udp any any eq 139 log-input
deny udp any any eq snmp log-input
deny udp any any eq 1993 log-input
deny udp any any eq tftp log-input
deny udp any any eq bootpc log-input
deny udp any any eq bootps log-input
permit tcp host <ADD HOST NATT'D IP HERE..> host 80.207.109.110 eq 80
permit tcp host <ADD HOST NATT'D IP HERE..> host 80.207.109.110 eq
3389 (or 389)
permit tcp host <ADD HOST NATT'D IP HERE..> host 80.207.109.110 eq
2560
permit tcp host <ADD HOST NATT'D IP HERE..> host 80.207.109.110 eq
range 7001 7002
permit tcp host <ADD HOST NATT'D IP HERE..> host 80.207.109.110 eq
range 8080 8084
permit tcp host <ADD HOST NATT'D IP HERE..> host 80.207.109.110 eq
range 8090 8091
permit icmp any any echo-reply log-input
deny icmp any any
permit ip any any log-input
no cdp run |
|