access-list help

From: Tony Olzak (aolzak@xxxxxxxxxxxxxxxxxxx)
Date: Wed Oct 25 2000 - 19:02:48 GMT-3


   
   This should be simple, and I'm probably making this way too difficult,
   but how would you go about this access-list?
   
   This is an inbound access-list on a serial interface. The one line I'm
   having trouble with is this:
   
   FTP sessions are only allowed if established by a host on the router's
   ethernet segment.
   
   OK, that's great. Any host on the ethernet segment will send packets
   to port 23, but returning packets will be to whatever port above 1023
   that the host chose to use. If I just say:
   
   access-list 100 permit tcp any <host ip range> establish eq ftp
   
   This would only allow packets IN that are destined for port 23 and
   have the ACK bit. This does me no good because the source host is not
   using port 23 when trying to initiate an FTP session. If I say to any
   port greater than 1023, then I'm allowing traffic that was not
   specified in the lab. Am I way off here? If so, how do I do this?
   
   Maybe the author of this practice lab didn't understand this
   procedure?
   
   Tony



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:25:30 GMT-3