Announcement

Collapse
No announcement yet.

access-list cisco router 1721

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • access-list cisco router 1721

    hey,
    I'm really new into cisco and I've got a little question.

    I'm trying to deny all inbounds and permit only few specific IPs.
    for ex. 212.13.19.21 , 212.13.22.97 , 78.88.14.69
    and also range of IPs 192.168.1.10-55.
    what's a good way to do it?
    do I have to access-list these IPs and then have a deny command?

    can you please write me the commands, I must have done something wrong.

    thanks alot,

    strife

  • #2
    Re: access-list cisco router 1721

    here is some examples:
    http://www.velocityreviews.com/forum...t-working.html
    Marcel
    Technical Consultant
    Netherlands
    http://www.phetios.com
    http://blog.nessus.nl

    MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
    "No matter how secure, there is always the human factor."

    "Enjoy life today, tomorrow may never come."
    "If you're going through hell, keep going. ~Winston Churchill"

    Comment


    • #3
      Re: access-list cisco router 1721

      Hi Strife,
      Thanks for your post.

      Here is an example:

      interface Ethernet0/0
      ip access-group 1 in
      !
      access-list 1 deny 78.88.14.69
      access-list 1 deny 212.13.22.97
      access-list 1 deny 212.13.19.21



      To do your range of IP's, there might be a wildcard mask you could use but I'm not seeing it. Otherwise, you would have to do them individually.

      To calculate your subnets and wildcard masks for ACL's (might help you with the range), I recommend this subnet calculator.

      Don't forget to apply your ACL on your interface (as seen above).

      Thanks,
      If you have more questions, let us know.
      David Davis - Petri Forums Moderator & Video Training Author
      Train Signal - The Global Leader in IT Video Training
      TrainSignalTraining.com - Free IT Training Products
      Personal Websites: HappyRouter.com & VMwareVideos.com

      Comment

      Working...
      X