WEBVTT

00:12.860 --> 00:16.490
Hello my name is she has from Teach epics.

00:16.580 --> 00:21.890
Welcome you all to Cisco firewalls course in this with you.

00:21.920 --> 00:33.110
We will cover some specific configuration related to Cisco a is a access control lists and also we will

00:33.110 --> 00:39.710
do a practical lap to show how to configure the firewall from Cisco.

00:39.710 --> 00:48.510
So by the end of this video you will be able to understand the basics of configuring the Cisco as a

00:48.510 --> 00:57.270
firewall and what actually you need to do in order to fulfill and accomplish your task.

00:57.510 --> 01:07.040
So let's start Let's first review and highlight some concepts here.

01:07.230 --> 01:14.120
As we all know there is a firewall has by default two interfaces.

01:14.120 --> 01:22.280
One is outside and one is inside the inside which has by default the security level of one hundred is

01:22.280 --> 01:25.710
considered the highest security level.

01:26.150 --> 01:37.310
And the outside has the security level of zero and it's considered the lower security level by default

01:38.210 --> 01:48.690
all outbound traffic is allowed which means from the higher to the lower by default traffic and communication

01:48.690 --> 01:49.340
is allowed.

01:49.370 --> 01:57.050
So it can move from the 100 to the zero security level without any restrictions.

01:57.080 --> 02:02.000
However the other direction is not allowed by default.

02:02.000 --> 02:08.210
So from outside to the inside from zero to 100 it's not allowed by default.

02:08.350 --> 02:09.040
OK.

02:09.290 --> 02:17.660
So that means if you don't have any access control list configured on the firewall by default you go

02:17.660 --> 02:19.310
from inside to outside.

02:19.400 --> 02:19.790
Go

02:22.740 --> 02:24.300
Ok.

02:24.310 --> 02:32.680
And also if you don't have any access control list configured by default traffic is restricted from

02:32.680 --> 02:36.820
the outside to the inside as it chose here in disfigure.

02:37.210 --> 02:40.320
So traffic will be stopped.

02:40.420 --> 02:48.120
So what if you want to bypass these default behavior of the A's a firewall.

02:48.130 --> 02:51.450
What if you want to allow traffic from the outside to the inside.

02:52.060 --> 02:59.000
Then you will need to configure an access control list here.

02:59.080 --> 02:59.540
Right.

02:59.890 --> 03:06.850
So if you configure an access control list with a pyramid pyramid statement to allow traffic from the

03:06.850 --> 03:17.380
outside to the inside it will bypass this default behavior for the firewall which is denying traffic

03:17.380 --> 03:18.860
from the outside to things.

03:19.270 --> 03:34.200
OK let's move forward to this slide actually this slide shows that you can create access control list

03:34.950 --> 03:37.550
as much as you want.

03:37.590 --> 03:45.610
However they will have no effect if you don't apply them on a specific interface.

03:45.870 --> 03:47.310
How you apply them.

03:47.310 --> 03:52.100
You need to use this command axis group.

03:53.280 --> 03:55.710
So the steps here are very easy.

03:55.710 --> 04:03.840
First you create the Axis list you give it the number permit you define the IP address and the wildcard

04:03.840 --> 04:10.010
mask then is it going to work like this once you create it.

04:10.010 --> 04:17.240
No you will have to define which interface you will apply this access control list on.

04:17.240 --> 04:25.400
So in this example we defined the interface of fast internet zero over zero and then you apply these

04:25.400 --> 04:27.860
command axis group.

04:27.860 --> 04:35.690
This number is the same number of the access list and you define that direction whether it's in or out

04:35.720 --> 04:38.660
whether it's inbound or outbound

04:41.060 --> 04:42.440
access control restroom.

04:42.470 --> 04:45.870
OK so here are the steps.

04:45.880 --> 04:53.180
Create the far access control list define which interface you want to apply the access control list

04:53.210 --> 04:56.190
on and then you apply.

04:58.690 --> 05:01.630
We will have a lab here.

05:01.690 --> 05:19.270
The purpose of these lab is to deny pink from this B.S. to this firewall OK so this P.C. will have this

05:19.270 --> 05:32.630
IP address 1 9 2 1 6 8 1 10 and the 5 1 5 5 0 6 will have by default the inside interface 1 9 2 1 6

05:32.660 --> 05:38.560
8 1 2 1 with the same subnet mask of 24.

05:39.110 --> 05:45.290
So we will need now to deny pin gain from this P.C. to the firewall.

05:45.860 --> 05:48.200
OK so here you go.

05:48.200 --> 05:52.010
As it shows here one that one is this interface

05:56.510 --> 06:03.310
so let's see how we will do this let's open Cisco packet tracer

06:07.870 --> 06:12.510
let's change this to 10 OK.

06:12.570 --> 06:19.110
This is actually the final lap after it has been configured so let's open a new Cisco packet tracer

06:19.110 --> 06:19.770
lab here

06:23.750 --> 06:32.460
let's first grab the five five or six five or and then we grabbed a P.C.

06:35.280 --> 06:46.900
let's chronic those two devices together network interface card to gigabit Ethernet one over one which

06:46.990 --> 06:52.400
if it has by default like you see one that one.

06:52.500 --> 07:03.850
OK so let's first start by giving an IP address to this P.C. go to the configuration tab here first

07:03.860 --> 07:16.210
item at zero and let's give it 1 9 2 1 6 8 1 that we will give it 10 with the subnet mask default 2

07:16.210 --> 07:22.820
5 5 2 5 5 2 5 5 0 which is that 24.

07:23.390 --> 07:24.770
It's equivalent to 24.

07:25.010 --> 07:25.430
OK

07:34.600 --> 07:35.700
all right.

07:35.780 --> 07:36.200
So

07:39.030 --> 07:47.660
by the way that the subnet here the subnet IP address would be 9 1 9 2 1 6 8 1 0 0 slash 24.

07:47.670 --> 07:49.260
This one will have one.

07:49.260 --> 07:51.360
This one will have top 10.

07:51.510 --> 08:02.150
So let's configure this but before we configure this we need to specify the gateway for this P.C. the

08:02.150 --> 08:13.420
gateway will be the P.C. you will be having the gateway of 1 to 1 which is the inside IP of the internal

08:13.420 --> 08:16.670
interface of the inside interface of the firewall.

08:16.960 --> 08:17.880
So let's give it.

08:17.920 --> 08:31.680
And the gateway address 1 9 2 1 6 8 1 the 1 That's it that's all we need on the P.C. now let's go to

08:31.680 --> 08:32.940
the firewall and configuring

08:35.940 --> 08:44.770
go through the seal I type enabled it will prompt me for a password by default there is no password.

08:44.810 --> 08:56.460
Press enter then let's start configure this firewall all we need to configure here is to fly and configure

08:56.520 --> 09:05.230
a security level for this Internet interface it has an IP already IP address already it's up already

09:06.040 --> 09:16.930
but we need to give it a name of inside and define that security net so configure sternum or contracted

09:19.980 --> 09:25.840
interface Gigabit Ethernet one over to one

09:29.420 --> 09:32.780
let's give it an inside name interface

09:35.900 --> 09:52.120
inside security live in just type as easy and press def we will give it the security level of one hundred

09:58.770 --> 10:05.630
and then that's it that's all we need it's already on but in case it's not on just type no shut down

10:05.640 --> 10:06.390
no shut

10:09.100 --> 10:09.880
no shut

10:14.390 --> 10:15.920
Oh right.

10:16.170 --> 10:25.410
Control Z and save your configuration here control set enter civic configuration by typing copy running

10:25.550 --> 10:26.340
can start

10:31.870 --> 10:38.770
enter your concentration is saved right.

10:38.940 --> 10:52.800
So now what else we need to do now let's ping from this P.C. to the inside interface so let's go to

10:52.800 --> 10:53.640
the P.C. here.

10:55.720 --> 10:57.210
Open the door.

10:57.410 --> 10:59.430
Click on the desktop tab.

10:59.450 --> 11:02.000
Go to the command prompt and ping

11:05.360 --> 11:09.270
1 9 2 2 1 6 8 1 1.

11:09.930 --> 11:10.410
Perfect.

11:10.440 --> 11:12.850
It's pinging right.

11:13.170 --> 11:14.940
As you can see it's green.

11:14.940 --> 11:18.210
So the connection is up and running.

11:18.210 --> 11:19.530
It's pinging.

11:19.530 --> 11:23.220
Now what do we need to do is we need to restrict this pinging.

11:23.280 --> 11:27.980
We don't want this P.C. to ping actually anywhere.

11:28.050 --> 11:29.190
Not only this interface.

11:29.190 --> 11:33.480
We don't want this P.C. to ping anywhere in this network.

11:33.480 --> 11:43.220
So what we need here to create an access control list and we will give it a name of being you can either

11:43.220 --> 11:48.590
give it a number or a name so let's go to the firewall configure Thurman

11:53.480 --> 11:54.830
OK.

11:55.320 --> 12:02.650
We type access that list if you don't remember what to type.

12:02.650 --> 12:09.290
Just type question mark it tells you here oh what a name.

12:09.350 --> 12:17.530
We will give it a name will speak in math capital letters again question mark.

12:17.770 --> 12:19.820
It will ask you.

12:20.470 --> 12:23.320
You want to use deny or extended payment.

12:23.560 --> 12:30.490
This actually access control list will be an extended access control list so we will type extended

12:33.860 --> 12:34.220
again.

12:34.220 --> 12:35.450
Question mark.

12:36.110 --> 12:37.430
What do I want to do.

12:37.520 --> 12:43.350
I want to deny the ping so type deny again.

12:43.400 --> 12:55.620
Question mark since you want to deny the ping the ping walks on a protocol called ICMP into Internet

12:55.620 --> 13:00.210
control messaging protocol or management protocol.

13:00.630 --> 13:17.530
So any time you want to either allow or deny being you deny or allow this protocol ICMP so type ICMP

13:17.910 --> 13:28.110
here is the option here they're giving you many options ICMP DCP UDP IP Soleil type ICMP.

13:28.110 --> 13:29.160
Again question mark

13:32.050 --> 13:32.480
OK.

13:32.530 --> 13:42.920
It gives you these options whether you type an IP address for the source any host object what do I need

13:42.920 --> 13:43.920
to know.

13:44.110 --> 13:49.410
I need to deny this specific IP address the specific host.

13:49.640 --> 13:55.240
So I would choose the host option by post again.

13:55.240 --> 14:04.320
Question mark it asking me to put that IP address of this host which is 1 9 2 1 6 8 1.

14:04.590 --> 14:07.420
Then again question mark

14:11.120 --> 14:16.080
where or to where I want to deny this ping.

14:16.190 --> 14:19.900
I want to deny pinging from this P.C. to anywhere.

14:19.910 --> 14:26.360
So I would use any that's it.

14:26.630 --> 14:31.160
Type enter the access control list is created.

14:31.630 --> 14:32.400
OK.

14:32.660 --> 14:33.890
Is it effective.

14:33.890 --> 14:34.850
No.

14:34.850 --> 14:40.890
You need to apply it on a specific interface.

14:40.910 --> 14:41.760
All right.

14:41.810 --> 14:43.510
So what do we need to do.

14:43.760 --> 14:52.370
We need to use the access group command so to have access that's group

14:55.040 --> 14:55.730
question mark

14:58.780 --> 15:05.320
from two for the name or award our access list name is being sought by the same name

15:08.250 --> 15:09.140
bank.

15:09.400 --> 15:13.840
Again question mark.

15:14.300 --> 15:27.980
All right so how I want to deny pinging I want to deny pink let's see our lab here the inbound in the

15:27.980 --> 15:29.780
inbound direction from here to here.

15:29.780 --> 15:38.500
So on this interface the inbound traffic so I will choose here in.

15:38.620 --> 15:44.940
All right in question mark.

15:45.250 --> 15:45.740
All right.

15:45.760 --> 15:58.730
It trumps me which interface you want to apply this rule on.

15:58.900 --> 16:06.490
I want to apply it of course own the inside interface which is this one OK.

16:06.690 --> 16:14.200
So here is the sequence axis that's group you type the same name of the axis list that you created.

16:14.220 --> 16:20.640
You type the direction in which direction you want to apply the Axis control list which is the inbound

16:20.730 --> 16:28.080
in and then you type the word interface first so we will type interface

16:30.970 --> 16:32.620
question mark.

16:32.620 --> 16:33.830
It would prompt you.

16:33.880 --> 16:35.560
Is it the inside or the outside.

16:35.620 --> 16:37.090
I want to apply it on the inside.

16:37.360 --> 16:39.860
So type inside.

16:40.060 --> 16:41.500
That's it.

16:41.500 --> 16:45.160
Press enter control said

16:48.890 --> 16:53.060
and save your configuration.

16:53.800 --> 16:54.280
Right.

16:54.280 --> 16:57.790
You say the configuration.

16:57.940 --> 16:59.380
Now let's try to ping again

17:03.970 --> 17:06.550
same IP.

17:06.550 --> 17:07.440
Boom.

17:07.450 --> 17:08.110
It worked.

17:08.830 --> 17:16.740
We cannot think because we denied being from this P.C. to this interface.

17:17.210 --> 17:17.520
OK.

17:17.530 --> 17:26.650
So first before we create the access control list we were able to ping now the ping failed.

17:26.680 --> 17:31.840
So that means our access list is working.

17:31.840 --> 17:32.490
All right.

17:32.860 --> 17:35.670
So that's all for this with you.

17:35.680 --> 17:37.060
I hope you enjoyed it.

17:37.180 --> 17:46.630
In the next video also we will cover and configure a lab for allowing access from the outside to the

17:46.630 --> 17:47.860
inside.

17:47.860 --> 17:50.490
Thank you very much and see you in the next video.
