access-list cisco router 1721




Word :   Username :  
 
Bottom
Author
 Thread : access-list cisco router 1721
 
Profile: stranger
More Information

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 for doing 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

Related Product

Register or log in to remove.

Profile: member
More Information

Generally the rule of thumb is to deny what you want to deny first then place your permit statements afterward. I like named access-lists myself because if you want to make a change to it you don't have to remove the whole access-list to remove one line.

for example:

ip access-list extended "NAME" (you can make any name you want...without the quotation marks).

Say I want to deny a specific address to your WAN IP. The following statement would deny only 10.10.10.10 to 2.2.2.2.

deny ip 10.10.10.10 0.0.0.0 2.2.2.2 0.0.0.0

permit ip/tcp/udp (whatever protocol you specify, ip allows anything udp or tcp) source address or subnet destination address or subnet "eq port number" (eq specifies a port which is in the udp or tcp range)



Go to:
 

Google Ads
Ad
News

Man Cleared Of Child Porn Charges, DIA Stands By Decision To Fire Him

Published on June 17, 2008

A Department of Industrial Accidents investigator was recently told to clean out his desk when he was found to have a significant amount of smut and child porn on his state-owned laptop. Read more

Cisco Beats Its Own Lowered Sales Estimates As Slowing U.S. Economy Bites

Published on May 07, 2008

The slowing U.S. economy is biting a lot of tech companies hard, but Cisco has managed to meet its own lowered financial forecasts and beat those of the analysts in its latest quarterly results. Read more

IBM still dominates supercomputer list

Published on November 14, 2005

IBM continues to dominate the supercomputing industry, according to the Top500 Organization's latest list of the most powerful computers in the world. Altogether, Big Blue's systems comprise 219 of the 500 systems included in the bi-annual survey. Read more

Intel expands network processor line

Published on October 19, 2004

With a goal of boosting already robust network processor market segment sales, Intel today announced two new families of network processor units (NPUs) for traditional communications applications and for the emerging embedded networking segment. Read more

Latest Reviews & Articles

Part 4: Avivo HD Vs. PureVideo HD

Published on September 29, 2008

The 780G chipset/Radeon HD 3200 and the MCP78S chipset/GeForce 8200 provide the first integrated graphics solutions that can accelerate Blu-ray playback. We dig deep into how well they work with high quality Blu-ray 1080p video playback. Read more

Four GeForce 9600 GT Cards Compared

Published on September 26, 2008

Manufacturers really love the first Geforce 9. The graphic chip is fast, the cards are inexpensive, and some retailers offer more than ten variations. Read more

Maxtor's Shared Storage Does NAS At Home

Published on September 25, 2008

What do you do with all the data you collect at home? Network attached storage is the solution. We test Maxtor's Shared Storage II and find that it is also suitable for use in small businesses. Read more

SLI & Centrino 2: Gaming Laptops Battle

Published on September 24, 2008

Take four gaming laptops. Arm two of them with SLI and make the others Centrino 2-compatible. You're looking at a high-end collection of the latest mobile technology battling it out for benchmark supremacy and your hard-earned dollars. Read more