Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access list help

Status
Not open for further replies.

addy0417

IS-IT--Management
Joined
Feb 11, 2005
Messages
2
Location
US
I need to give access to ports 5631 and 5632 in my router ffor all of my external ip address.

How can i do this with out having to type:
access-list 101 permit tcp any host 65.95.XXX.XXX 5631 5632 for each ip?

can I type a range of ip's?
 
You can use the subnet with its corresponding mask
 
How exactly do I do that?
 
access-list 101 permit tcp any 65.95.XXX.XXX 255.255.YYY.YYY eq 5631
access-list 101 permit tcp any 65.95.XXX.XXX 255.255.YYY.YYY eq 5632

Where YYY is the bits used for the subnetting. So if I have network 10.10.10.X the subnet would be 255.255.255.0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top