cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1472
Views
5
Helpful
2
Replies

ACL and the established parameter

jgadbois
Level 1
Level 1

When does a connection become "established"? For instance, if I have an access list which allows any TCP port to come "in" to a serial interface if the connection is established, are there any gotcha's associated with that? I tried an access list like this but could not make any DNS requests (or so it seemed).

access-list 101 permit tcp any host 63.113.103.19 established

!

interface Serial0.1 point-to-point

bandwidth 1536

ip unnumbered FastEthernet0

frame-relay interface-dlci 500 IETF

ip access-group 101 in

2 Replies 2

jshakyan
Cisco Employee
Cisco Employee

Established statements in ACL have no effect with DNS (UDP 53). Host DNS query uses UDP and not a TCP protocol. Since UDP is a connectionless protocol, in your case the return DNS response UDP packet gets denied by your accelss-list. Established parameter checks and permits/denies incoming TCP packets that have RST or ACK bit set.

You need to have the following line in your ACL:

access-list 101 permit udp host xx.xx.xx.xx eq 53 host 63.113.103.19

where xx.xx.xx.xx is the IP address of DNS server.

Thanks for your reply. It's these little things that seem to stump me all the time.

Jim