WEBVTT

00:12.300 --> 00:16.060
HI MY NAME IS SHE HAVE FROM teach ethics.

00:16.110 --> 00:19.470
Welcome you all to Cisco firewalls course.

00:19.800 --> 00:30.780
In this video we will cover a lab conflagration which allows an access from the outside to the inside

00:30.780 --> 00:36.420
zone Using Cisco as a firewall.

00:36.420 --> 00:41.120
Access Control List right by the end of this video.

00:41.160 --> 00:51.330
You will be able to understand how to configure that is a to allow communication and session initiation

00:51.330 --> 00:57.090
from the outside to the inside which is actually denied by default.

00:57.240 --> 01:09.050
So let's start as we discussed in a previous video by default communication from the outside to the

01:09.050 --> 01:11.360
inside is denied.

01:11.360 --> 01:12.320
Why.

01:12.320 --> 01:20.660
Because the security level for the outside network is by default 0 and the security level for the inside

01:20.660 --> 01:22.370
is by default 100.

01:22.880 --> 01:29.480
So from the outside to the inside by default communication is denied.

01:29.480 --> 01:39.110
So what we need to do in this video we will need to configure this firewall to allow communication between

01:39.120 --> 01:46.250
DBC which resides on the outside zone to this P.C. which resides on the inside zone.

01:46.260 --> 01:50.600
We will need first to configure the interfaces.

01:50.600 --> 01:51.610
This is the inside.

01:51.630 --> 01:53.180
It is outside.

01:53.510 --> 02:02.390
We need to configure a security level of 90 instead of 100 and a security level of 10 instead of 0 for

02:02.390 --> 02:03.970
the inside.

02:04.060 --> 02:04.940
All right.

02:04.940 --> 02:13.480
And then we will create an access control list to allow communication from the outside to the inside.

02:13.490 --> 02:14.510
So let's start

02:18.470 --> 02:20.530
let's open Cisco Packet Tracer.

02:23.840 --> 02:29.110
We will grab a Cisco firewall here five five or six.

02:29.420 --> 02:30.950
We will grab two pieces

02:35.430 --> 02:44.650
one here who will be for inside and one for the outside let's connect both of them.

02:47.920 --> 02:56.180
Good again.

02:56.190 --> 03:01.840
Here you go let's give an IP addresses for those species.

03:01.830 --> 03:17.250
We will give this 1 1 9 2 1 6 8 1 to 10 and this 1 1 9 2 1 6 8 1 20 as she was here in disfigure okay

03:20.100 --> 03:21.220
configuration tab

03:24.370 --> 03:39.400
1 9 2 1 6 8 1 or 10 the default subnet mask and also we will define the gateway for this P.C. the IP

03:39.400 --> 03:47.470
address of the Internet interface of the or the inside interface which is by default 1 9 2 1 6 8 1 1

03:48.690 --> 03:49.740
and that's it

03:52.870 --> 03:54.820
for the other P C same thing

03:58.070 --> 04:08.150
we will give it an IP address of 1 9 2 2 1 6 8 1 20 the default subnet mask and

04:11.210 --> 04:20.150
the gateway here will be will give us a different IP address which is the IP address of this interface

04:20.150 --> 04:27.700
the outside which will be 1 9 2 1 6 8 1 dot 2.

04:27.820 --> 04:28.170
Okay

04:30.960 --> 04:38.660
so 1 line 2 the 1 6 8 0 1 2 2.

04:38.750 --> 04:48.470
That said that's all we need for those two pieces on the firewall Gigabit Ethernet one over 1 is configured

04:48.480 --> 04:56.980
already we need now to configure the Gigabit Ethernet one over two but let's first give a name for that

04:57.000 --> 05:06.880
Gigabit Ethernet one over one as an inside so enable entered

05:10.840 --> 05:11.950
configure sturdiness

05:14.270 --> 05:17.900
interface G I one over one

05:20.770 --> 05:28.000
it has the IP address already so no need to provide to an IP address we will just name it inside.

05:28.210 --> 05:30.340
So name interface name if

05:34.520 --> 05:35.270
inside

05:38.000 --> 05:43.670
just in case it's not up we will issue a no shut down.

05:44.070 --> 05:52.760
But before this we will need to assign a security level of 90 at the chores here.

05:52.760 --> 06:06.280
In this figure so a security level SDC 90 no shut down.

06:06.640 --> 06:12.440
That's it type exit.

06:13.640 --> 06:18.160
Then now we will configure Gigabit Ethernet one over two.

06:18.300 --> 06:21.680
So interface G I.

06:21.710 --> 06:24.110
One over two.

06:24.320 --> 06:29.050
Let's give it an IP address of 1 9 2 1 6 8 1 2.

06:29.090 --> 06:36.440
So IP address 1 9 to the 26 and between the two.

06:36.440 --> 06:40.100
We need to provide the subnet mask which is 24.

06:40.190 --> 06:45.740
So 2 5 5 2 5 5 2 2 5 5 0.

06:45.830 --> 07:00.690
We will give it a security level of 10 as it shows year so security level 10 and we would name it an

07:00.720 --> 07:01.760
outside interface.

07:01.770 --> 07:02.940
So name if

07:06.720 --> 07:07.550
outside

07:12.710 --> 07:22.810
now let's exits from this interface configuration mode to check if the configuration have applied.

07:23.030 --> 07:24.230
So controls it

07:27.150 --> 07:36.240
and lets type show IP address show IP address.

07:36.320 --> 07:37.830
Here you go.

07:38.150 --> 07:45.110
1 over one has this IP address which is the inside one over to the outside and has the IP address

07:49.400 --> 08:00.240
and the same thing will will show if we type show running configuration show run it will appear here

08:00.360 --> 08:09.430
as you see security live in here of 90 for the inside and here is then for the outside.

08:09.690 --> 08:14.620
And these are the IP addresses for both interfaces.

08:14.700 --> 08:15.090
OK

08:18.760 --> 08:25.810
type controls set to go back to that enabled mode or the privilege mode.

08:25.990 --> 08:26.610
Now

08:29.640 --> 08:38.870
since the default behavior of the firewall is denying communication from the outside to the inside.

08:38.870 --> 08:46.700
So now we will need to create a fort an access control list on this firewall to allow communication

08:46.820 --> 08:48.560
from the outside to the inside.

08:49.130 --> 08:57.030
So that session direction or deficient initiation would be in this direction.

08:57.050 --> 08:57.470
OK.

08:59.350 --> 09:02.790
So let's create the firewall the access control list in the firewall.

09:03.280 --> 09:07.020
So type configuring config map terminal config.

09:07.750 --> 09:08.170
T

09:11.820 --> 09:14.240
Right access this list.

09:18.810 --> 09:23.720
Type question mark we will give it a name.

09:25.810 --> 09:28.140
Here it tells you to choose a word.

09:28.240 --> 09:34.340
We will give it a name of out underscore in so out

09:37.540 --> 09:47.480
underscore in this is the name of the access list again type question mark.

09:47.760 --> 09:49.500
It would prompt you.

09:49.560 --> 09:53.550
Is this an extended access list or deny or permit.

09:53.610 --> 10:02.400
This would be an extended access list so we would type extended or E X T and step again question mark

10:04.260 --> 10:07.800
it will prompt you either you want to deny or permit.

10:07.980 --> 10:13.990
Of course we want to permit that communication from the outside to the inside.

10:13.990 --> 10:14.990
So type permit

10:18.990 --> 10:23.460
sorry it doesn't matter if you type it in uppercase or lowercase.

10:23.610 --> 10:24.720
There is no difference.

10:26.820 --> 10:30.340
Vermouth again question mark.

10:31.270 --> 10:33.400
What do we need to do here.

10:33.400 --> 10:36.670
We need to allow IP communication

10:40.380 --> 10:44.490
from any host.

10:44.650 --> 10:46.240
Which means anywhere.

10:47.180 --> 10:49.170
To this IP address.

10:49.210 --> 10:56.920
So here are the options when you type question mark it gives you it gives you these options.

10:56.920 --> 10:58.870
So we will choose IP

11:01.970 --> 11:03.230
that question mark again.

11:05.190 --> 11:11.820
What do we need to do we need to allow communication from anywhere anywhere means from the outside world

11:11.910 --> 11:18.420
from the internet from anywhere to this P.C. so type any.

11:18.410 --> 11:25.000
I get calls from Mark all right what do I need to do now.

11:25.060 --> 11:32.890
It gives you this option when you type question mark from any to any or from any to a specific IP address

11:33.040 --> 11:38.470
or from any to a host or from any to an object.

11:38.470 --> 11:43.130
Actually we need to choose the host because this is a specific host.

11:43.200 --> 11:45.180
Host means a computer.

11:45.230 --> 11:56.540
OK so we choose host type hosts again question mark now.

11:56.680 --> 12:09.950
You need to define the IP address of this host which is 1 9 2 1 6 8 1 the 10 and that's it you're done

12:10.730 --> 12:14.240
press enter the access list is created

12:16.820 --> 12:17.340
okay.

12:17.350 --> 12:25.960
As I mentioned before the access list is useless until you apply it on a specific interface.

12:25.960 --> 12:30.130
So we need to use the command access group.

12:30.280 --> 12:37.580
So access Nash group question mark

12:40.690 --> 12:44.120
it prompts you to provide a word or the name of this access list.

12:44.140 --> 12:52.220
The name of this access list is out underscore in you have to type exactly the same name.

12:52.770 --> 12:58.920
So if it's an uppercase you type it uppercase it's lowercase type lowercase exactly the same.

12:58.950 --> 13:06.650
So out underscored in if you do remember what to type.

13:06.650 --> 13:12.960
Just use question mark how do I want to

13:15.640 --> 13:19.430
list type in in in

13:26.790 --> 13:31.440
so how do I want to apply this access control list.

13:31.440 --> 13:34.790
I want to apply it either inbound or outbound.

13:35.780 --> 13:45.410
Of course I want to apply it inbound on a specific interface inbound on these outside interface inbound

13:45.410 --> 13:56.490
means that traffic entering going to this outbound or outside interface so type in this type it in lowercase

13:56.580 --> 13:59.320
in question mark again.

14:00.830 --> 14:08.300
You need now to define the interface that this access control to be applied on.

14:08.300 --> 14:12.960
So type the word interface question mark again.

14:17.220 --> 14:20.520
It prompts you either choose inside or outside.

14:20.520 --> 14:28.980
This interface which is this one that has that the IP address of 1 9 2 1 6 8 1 2 is actually the outside

14:28.980 --> 14:30.180
interface.

14:30.180 --> 14:35.540
So we will choose out side.

14:36.350 --> 14:37.800
That's it you're done.

14:37.850 --> 14:38.560
You apply.

14:38.570 --> 14:50.270
Now the access control list on the outside interface for the inbound traffic press Enter press control

14:50.270 --> 14:57.140
Z to go out from this global configuration mode so control that.

14:57.630 --> 15:06.420
Now let's check and verify the configuration for the access list that we created.

15:06.420 --> 15:13.760
So we will buy sure access specialist show by the way.

15:13.770 --> 15:17.910
If you don't know again what to type just type show.

15:17.910 --> 15:19.260
Question mark.

15:19.260 --> 15:23.340
It will show you all the available options to show.

15:23.340 --> 15:27.440
So here is an option to show the access list.

15:27.450 --> 15:30.020
The one on the top okay.

15:31.510 --> 15:33.610
So show access.

15:33.720 --> 15:39.320
That's list enter.

15:39.360 --> 15:40.360
Here you go.

15:40.380 --> 15:45.440
It shows you the access list that you created the access list.

15:45.480 --> 15:47.160
Name is out in

15:49.760 --> 15:52.950
took extended access list.

15:53.610 --> 15:59.970
Pyramid IP protocol from any any means.

15:59.970 --> 16:04.040
This is the source address.

16:04.060 --> 16:07.420
Host this one which is the destination atlas.

16:07.450 --> 16:12.530
So this is the access list that we could eat.

16:13.340 --> 16:14.830
Okay.

16:14.940 --> 16:19.710
It shows you everything name.

16:19.820 --> 16:21.950
It only has one line or one to statement.

16:22.100 --> 16:27.430
So line 1 the type of the access control list is extended.

16:27.470 --> 16:30.390
This is the rule to apply pyramid.

16:30.520 --> 16:34.950
This is the protocol to use which is IP.

16:35.040 --> 16:42.910
This is the source and this is the destination.

16:42.930 --> 16:47.580
Also you can type sure running a configuration to see all configuration on the firewall.

16:47.580 --> 16:56.330
So she'll just type Ron and press step it will complete the commands for you.

16:58.910 --> 17:00.260
Okay.

17:00.470 --> 17:02.270
It shows you everything here.

17:02.600 --> 17:04.640
The interface configuration.

17:04.640 --> 17:08.750
Just press enter to go down when you see more.

17:09.050 --> 17:17.130
Just press enter to go down enter enter enter enter.

17:17.150 --> 17:17.810
Here you go

17:21.280 --> 17:26.110
it shows you the access list that you actually configured

17:29.030 --> 17:31.100
and it shows you also.

17:32.150 --> 17:41.090
How these access control list will be applied when which interface which is outside.

17:41.950 --> 17:44.330
What is the direction of applying this.

17:44.470 --> 17:45.610
Access Control List.

17:45.670 --> 17:51.650
Inbound so that's all for this video.

17:54.180 --> 17:56.060
Thank you very much for watching.

17:56.070 --> 17:59.820
And this is the end of this curriculum.

17:59.820 --> 18:04.110
Thank you very much again for watching and see you in Nick's videos.
