Great Circle Associates Firewalls
(January 1995)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: CISCO configuration, part II
From: "Alec H. Peterson" <chuckie @ panix . com>
Date: Wed, 25 Jan 1995 09:33:05 -0500 (EST)
To: gaus @ znanost . mz . hr (Damir Rajnovic)
Cc: firewalls @ greatcircle . com
In-reply-to: <199501251239 . NAA16244 @ znanost . mz . hr> from "Damir Rajnovic" at Jan 25, 95 01:39:54 pm

Damir Rajnovic writes:
>
>Hello,
>
>Thank's for everybody who explain me how to configure access rules, but....
>
>I apply following rules:
>
>acces-list 111 deny ip x.y.z.0 0.0.0.255 x.y.z.0 0.0.0.255
>acces-list 111 deny ip 127.0.0.0 0.255.255.255 x.y.z.0 0.0.0.255
>acces-list 111 permit tcp 0.0.0.0 255.255.255.255 x.y.z.0 0.0.0.255

The list should (probably) be:
access-list 111 deny ip x.y.z.0 0.0.0.255 0.0.0.0 255.255.255.255
access-list 111 deny ip 127.0.0.0 0.255.255.255 0.0.0.0 255.255.255.255
access-list 111 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255

>
>interface s 0
>ip access-group 111 in
>
>and everything works well but after some time I lost all routes to all
>hosts inside CARNet. I can go to outside world, I can receive and send
>mail but I can't make telnet to some host inside CARNet.

The list you had was denying packets destined for x.y.z.0/24 that were
coming from x.y.z.0/24, which is not want you (necessarily) want to do.
Under no circumstances should a packet coming into your router have a 
source address that is part of your internal network (assuming you have 
a fairly simple setup).  Also, there is an implied:

access-list 111 deny ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255

at the end of the access-list, so all packets that are everything except
tcp and destined for x.y.z.0/24 will get blocked.  As I put up there, you
almost certainly want to put the 'permit all ip packets' entry in the
list (unless you want to deny all other packets except for the ones 
I just mentioned).

Alec

-- 
Alec Peterson                           Panix Public Access UNIX and Internet
chuckie @
 panix .
 com                       New York City, NY


References:
Indexed By Date Previous: Re: CISCO configuration, part II
From: Howard Berkowitz <hcb @ clark . net>
Next: Re: router access lists
From: "Robertson, Paul" <proberts @ moc1 . gannett . com>
Indexed By Thread Previous: Re: CISCO configuration, part II
From: Paul Traina <pst @ cisco . com>
Next: Re: CISCO configuration, part II
From: Paul Traina <pst @ cisco . com>

Google
 
Search Internet Search www.greatcircle.com