WEBVTT

00:12.140 --> 00:15.210
Hi my name is you have from Teach epics.

00:15.290 --> 00:18.210
Welcome you all to Cisco firewalls course.

00:18.680 --> 00:29.480
In this video we will cover that configuration of the is a firewall to be aesthetic not relative to

00:29.480 --> 00:31.950
act as a static net.

00:31.940 --> 00:40.730
So as we explained in the previous video there are some steps to be taken in order to accomplish this

00:40.910 --> 00:41.960
task.

00:41.960 --> 00:47.400
OK first of all what is the purpose of this lab.

00:47.420 --> 00:51.600
The purpose of this lab is to allow this insight.

00:51.610 --> 01:01.520
P.S. In the inside network which has the name of admin to communicate with a remote P.C. which has this

01:01.520 --> 01:02.870
IP address.

01:03.200 --> 01:12.830
So mainly what we need to do is translate this private IP address to a public IP address which would

01:12.830 --> 01:13.660
be this one.

01:13.670 --> 01:21.280
The one ending to 0 1 the 10 in order to communicate with this remote P.C..

01:21.490 --> 01:30.650
OK so again the translation will be from this IP address the private through this IP address which is

01:31.100 --> 01:40.820
the public so the remote B.C. will communicate with this admin P.C. through this IP address.

01:40.830 --> 01:41.490
OK.

01:41.510 --> 01:51.080
Which is that what we call the mapped IP address or the IP address that replaces the private IP address.

01:51.140 --> 01:53.370
OK.

01:53.810 --> 01:58.570
So first of all we need to assign IP addresses as shown in the diagram.

01:58.580 --> 02:05.400
We need to provide IP addresses for both interfaces on the firewall inside outside.

02:05.450 --> 02:09.410
We need to provide an IP address also for this P.C..

02:10.940 --> 02:12.490
OK.

02:12.500 --> 02:23.760
By the way the gateway here for this P.C. will be that inside IP address of a firewall which is this

02:23.760 --> 02:23.970
one.

02:24.290 --> 02:25.240
OK.

02:25.470 --> 02:34.320
So it will have ten to one to two the 27 the gateway will be 10 to 1 the 2 the 21 the subnet mask is

02:34.380 --> 02:39.030
24 on both the private and also the public.

02:39.150 --> 02:43.540
So let's do this practically on Cisco Packet Tracer

02:46.700 --> 02:50.040
let's open Packet Tracer.

02:50.090 --> 02:50.630
Here you go.

02:50.630 --> 02:55.630
I grab the ready 5 5 or 6 8 is a firewall.

02:55.790 --> 03:04.400
I grabbed a P.C. and I will grab another P.C. which will be very busy.

03:05.870 --> 03:18.020
Let's connect the P.C. to the firewall gigabit one over to to the network interface card of the P.C..

03:18.230 --> 03:21.440
Now let's configure the IP addresses.

03:21.440 --> 03:26.020
Let's start with the P.C. OK.

03:26.420 --> 03:29.430
So we go to the configuration tab.

03:29.900 --> 03:31.610
Fast ethernet zero.

03:31.910 --> 03:42.140
And we will give it the IP address of 10 the 1 to the twenty seven with the subnet mask.

03:42.140 --> 03:52.420
We will change it from the default of 8 to 24 which 2 5 5 2 5 5 2 5 5 0.

03:52.430 --> 03:58.220
Now we need to provide the gateway for this CPC

04:02.080 --> 04:06.750
so let's type here to the Gateway then the 1 2 1

04:10.130 --> 04:14.790
ok then 1 2 2 7 and 1 2 the

04:19.880 --> 04:21.200
let's take this again

04:24.140 --> 04:24.960
all right.

04:25.410 --> 04:26.440
And that's it.

04:26.460 --> 04:32.360
That's all we need to do close this go to the firewall now.

04:37.060 --> 04:45.100
Go to the configurations that we can provide IP addresses here change the hostname here or we can use

04:45.100 --> 04:48.220
that command line interface which is the teal eye.

04:49.210 --> 04:56.420
So let's use the seal eye instead to show how actually those commands work.

04:56.500 --> 05:00.160
First of all we need to enter that enabling mode.

05:00.190 --> 05:07.030
So we type enabled it will prompt me for a password by default that is not possible.

05:07.240 --> 05:08.600
So just press enter.

05:09.840 --> 05:14.380
I'm inside now that privilege mode.

05:14.620 --> 05:16.800
Let's consider.

05:16.930 --> 05:19.330
So this type configured ternary

05:24.890 --> 05:25.610
press enter.

05:26.240 --> 05:31.420
Let's change the hostname which is by default at Cisco is a two.

05:31.580 --> 05:38.810
This hostname we would name it net as out of B which is a short form that.

05:39.110 --> 05:41.020
So that it's out of V.

05:41.240 --> 05:41.900
Let's

05:44.670 --> 05:46.410
change the name we type hostname

05:49.020 --> 05:54.500
not s r v that's it.

05:56.550 --> 06:12.720
Now we need to configure the interfaces to inside and outside so let's go first to interface gigabit

06:12.720 --> 06:14.040
to 1 over to

06:17.950 --> 06:30.970
1 over 1 by default x 1 9 2 1 6 8 1 1 which we will be changing here to 10 but 1 to one which is this

06:30.970 --> 06:32.610
one right

06:35.460 --> 06:36.390
so let's do that

06:40.290 --> 06:48.550
so we type interface to its small interface.

06:48.650 --> 07:04.410
Short is I I.A. I am three step interface G I which is a if it is a net one over one.

07:04.580 --> 07:11.510
Now I'm inside the interface configuration mode we will give it an IP address of

07:14.170 --> 07:25.150
then the one the two the one and the subnet mosque will be 2 5 5 5 5 2 5 5 0 enter.

07:25.990 --> 07:35.680
Now we need to name it we give it a name we need to provide this g i or Gigabit Ethernet one over one

07:35.800 --> 07:41.010
with an inside name it will be the inside interface.

07:41.020 --> 07:45.130
So you see the IP change at the ready let's

07:47.890 --> 07:54.370
use the command name what interface name if and we name it inside.

07:55.960 --> 07:57.910
OK.

07:58.120 --> 08:01.480
Now by default the interface is down.

08:01.480 --> 08:06.340
So let's issued a command no shutdown or no shut

08:09.520 --> 08:11.020
press enter.

08:12.110 --> 08:13.910
That's it that's all I need.

08:15.310 --> 08:16.540
Now type except

08:20.170 --> 08:24.610
we will configure now the outside interface which is gigabit.

08:24.820 --> 08:25.930
One or two.

08:26.050 --> 08:38.080
So we type interface G I won over to IP address we need to provide with an IP address so type IP

08:40.750 --> 08:46.120
IP address what will be the IP address here.

08:48.340 --> 08:59.660
This 1 2 0 9 1 6 5 2 0 1 the 10 which will be the public IP address for there is a firewall.

08:59.740 --> 09:09.310
So let's type this IP 2 1 9 1 6 5 2 1 2 0 9 1 6 5 2 0 1

09:12.920 --> 09:17.090
10 the subnet must also will be 24.

09:17.600 --> 09:21.640
So 2 5 5 2 5 5 2 5 5 0.

09:23.350 --> 09:30.850
Let's now make this interface an outside interface so let's type name if

09:33.940 --> 09:40.600
outside and again we need to bring this interface up.

09:40.690 --> 09:46.720
So we type no shot down that's it.

09:46.720 --> 09:58.960
The interface is configured let's use controls it in order to check this configuration controls it let's

09:58.960 --> 10:06.460
check if the configuration have been changed so we type show IP address

10:09.560 --> 10:19.220
boom here you go the inside has this IP the outside has this public IP and everything is okay.

10:19.250 --> 10:22.930
Both interfaces are up and running.

10:24.350 --> 10:26.660
Now let's configure

10:28.940 --> 10:35.590
that security also security level we need to provide security live it for each interface.

10:36.170 --> 10:41.300
So let's go again to interface G I.

10:41.300 --> 10:43.550
1 4 4 1

10:46.780 --> 10:48.880
we need to type configure getting our first

10:51.710 --> 10:52.630
interface.

10:52.680 --> 10:57.920
Gee I won over one.

10:58.100 --> 11:06.770
And we will assign security level of zero

11:09.570 --> 11:11.610
the inside by default is 0.

11:11.620 --> 11:14.660
So security live 0.

11:15.040 --> 11:24.520
If you do remember the command just type is as easy and the command will complete automatically.

11:26.420 --> 11:34.460
By the way after we finish this configuration I have the complete lab to configure my right

11:38.640 --> 11:42.330
so let's give for that inside interface live one 100

11:45.180 --> 11:55.160
byte exit we go now to that outside interface so interface.

11:55.170 --> 12:03.410
Gee I won over to security level 0.

12:03.470 --> 12:08.280
That said we press control Z

12:11.360 --> 12:12.340
and you're done.

12:14.780 --> 12:17.600
Now let's check this configuration.

12:17.840 --> 12:24.920
We type shortening configuration or show run.

12:24.940 --> 12:26.770
Here you go.

12:26.770 --> 12:31.730
This is our configuration here.

12:31.870 --> 12:38.770
Everything is okay up and running the IP address the name and the security level.

12:40.890 --> 12:44.150
Now let's see if this configuration.

12:44.220 --> 12:45.080
So we type.

12:45.090 --> 12:51.710
Copy running start or just type s.t..

12:51.930 --> 12:59.120
Press tab and again enter now configuration saved.

12:59.170 --> 12:59.690
All right.

13:00.420 --> 13:07.350
So always try to save your configuration before you proceed to the next step.

13:07.410 --> 13:15.510
Just to make sure if anything happens you didn't lose the conflagration that you spent time doing.

13:17.310 --> 13:27.540
All right so let's move to the next step the next step is to create an object named admin which is the

13:27.540 --> 13:29.800
name of this insight.

13:29.810 --> 13:36.620
P.S. As I mentioned in the previous video so configured damnit.

13:39.360 --> 13:41.040
We type object to network

13:45.790 --> 13:51.460
if you don't remember just type question mark after object to give you what you have to write or type

13:52.870 --> 13:58.410
object network we will name it admin.

13:59.170 --> 14:04.210
Now we need to give this admin an IP address.

14:04.210 --> 14:16.560
We will use the war or the command post and we will give it this IP address so they post than the one

14:16.560 --> 14:17.850
that do the 27

14:20.690 --> 14:21.220
that's it.

14:26.890 --> 14:27.550
Right.

14:27.700 --> 14:32.940
So now we created an object called admin.

14:33.130 --> 14:34.870
We gave it an IP address.

14:36.860 --> 14:47.870
We configure the admin P.C. with a way of 10 to 1 to 2 the one we configured both interfaces the inside

14:48.320 --> 14:53.460
and the outside and we give it security live.

14:54.590 --> 15:07.220
Now we need to issue the command actual command for I which is then not either inside or outside or

15:07.220 --> 15:08.210
not outside.

15:08.210 --> 15:13.300
Inside depends on what we need to do.

15:13.300 --> 15:18.090
We need here to match from the inside to the outside.

15:18.150 --> 15:24.660
We need the inside IP address to be translated to the outside so we will use the net inside outside.

15:26.810 --> 15:34.830
So let's do this inside the same prompts here which is configuring network object.

15:34.840 --> 15:35.870
We type net

15:40.120 --> 15:40.800
again.

15:40.800 --> 15:46.700
If you do remember just type question mark it will give you what you have to do.

15:49.980 --> 15:50.520
Right.

15:50.530 --> 15:54.450
It gave you the same Centrex comments antics your type.

15:54.460 --> 16:03.400
First the really interface that interface here is the inside and then the mapped interface the mapped

16:03.430 --> 16:05.820
interface is the outside OK.

16:06.040 --> 16:11.710
The inside is having this IP address and the outside is having this IP.

16:12.310 --> 16:19.100
So if you just type not bracket inside.

16:19.550 --> 16:21.100
Come on outside

16:24.830 --> 16:33.680
the firewall we understand already the IP addresses of the inside and outside which actually we configure

16:33.910 --> 16:38.630
every year when we configured those two interfaces.

16:38.690 --> 16:39.080
OK.

16:41.230 --> 16:43.890
So we type not inside outside.

16:44.560 --> 16:49.090
Then since we need a static nothing here we need to use a step in nothing.

16:49.100 --> 16:50.500
We type static

16:53.210 --> 16:53.660
again.

16:53.690 --> 16:55.250
If you don't remember what to type.

16:56.180 --> 17:03.910
Just type question Mark you see it shows you either you type dynamic which is dynamic nothing or static

17:03.940 --> 17:06.370
nothing we need static here.

17:06.870 --> 17:11.200
So type static you do remember.

17:11.210 --> 17:13.190
Question mark.

17:13.430 --> 17:15.170
Here you go.

17:15.170 --> 17:23.570
It gave you the prompt that you would have to type the IP address of the mapped interface or the map

17:23.600 --> 17:27.060
IP address which is in our case this one.

17:28.040 --> 17:39.680
So mainly let's be clear about those getting anonymous maps IP means the public IP that will appear

17:39.890 --> 17:42.660
instead of the inside.

17:43.160 --> 17:46.940
Private IP so in our case it's this one.

17:46.940 --> 17:48.050
So let's type it

17:51.160 --> 18:02.990
2 0 9 1 6 5 that 2 0 1 that 10 press Enter

18:05.840 --> 18:06.500
okay.

18:06.540 --> 18:17.400
And again savior conflagration but before you save just press controls that you cannot save while you're

18:17.400 --> 18:26.040
inside this prompt you have to press controls it controls it enter then copy

18:28.670 --> 18:37.630
from start again enter configuration is saved.

18:37.970 --> 18:39.800
So it's very easy actually.

18:40.100 --> 18:48.530
We just gave interfaces IP addresses we named each interface inside and outside.

18:48.530 --> 18:58.790
We give security level and we created an object gave the object an IP and then we used the Net inside

18:58.790 --> 19:00.090
outside.

19:00.500 --> 19:01.610
All right.

19:01.790 --> 19:08.290
So now let's check if our net configuration actually applied correctly.

19:08.570 --> 19:23.590
So we will type show net show just as much net here you go the output of the show and that shows me

19:23.590 --> 19:33.820
that I am nothing from the inside to the outside that they cannot think for this object which is the

19:33.820 --> 19:37.690
name ad to this IPA.

19:38.110 --> 19:40.440
So it's very clear right.

19:42.130 --> 19:46.560
So it's very obvious and clear I hear nothing from inside to outside.

19:47.920 --> 19:56.300
The source is aesthetic nothing for this B.S. which is the name has the name of ad.

19:56.350 --> 20:07.080
And here is that public IP that will be used for the admin B.C. to go from inside to outside.

20:07.150 --> 20:09.710
Perfect okay.

20:09.730 --> 20:11.770
So what's missing here.

20:13.780 --> 20:19.450
We actually almost done here so let's go

20:25.760 --> 20:34.010
and type again show running configuration to see the whole full configuration okay.

20:34.080 --> 20:35.520
IP addresses

20:39.110 --> 20:40.540
just keep pressing enter.

20:40.540 --> 20:44.430
To go down to move down 18.

20:44.430 --> 20:56.830
Go it shows object network admin has this IP address and we have nothing from inside to the outside

20:58.050 --> 21:00.310
static type of static.

21:00.420 --> 21:06.540
This is the target or the mapped IP address so everything is okay.

21:06.570 --> 21:15.850
Perfect that's all we need in order to configure the static nothing.

21:16.280 --> 21:25.650
After you finish all the steps you will see all actually connections appear as green traffic is passing.

21:25.670 --> 21:30.570
He does the full configuration here beside the lab.

21:30.880 --> 21:31.510
So

21:34.300 --> 21:36.290
that's all for this video.

21:36.340 --> 21:38.210
I hope he enjoyed it.

21:38.710 --> 21:49.020
And the next bit you we will discuss actually what we call access control list by the way this is actually

21:49.020 --> 21:54.230
a snapshot or a screenshot of our lab with that full configuration in it.

21:55.920 --> 21:58.260
So the next video.

21:58.260 --> 22:06.660
As I said we will explain and cover the topic of access control list and then we will have a lab on

22:07.570 --> 22:11.230
the access control list using Cisco packet tracer.

22:11.730 --> 22:14.840
Thank you for watching and see you in the next video.
