본문 바로가기

Computer

Create Windows Firewall

https://www.professormesser.com/free-a-plus-training/220-1102/220-1102-video/windows-firewall-220-1102/

 

 

 

 

 

 

 

 

 

What is Windows Firewall?

Create a Windows Firewall

  • Program
  • Port

 

 

 

 

 

 


 

 

 

 

What is Windows Firewall?

 

 

Windows Defender Firewall

 

 

 

  • A secure feature that protect your device from any attacks by filtering netwrok traffic that is being sent.
  • Your firewall should always be enabled.
  • Different settings for each network type - Public / Private
  • Block all incoming connctions except the list it is enabled

 

 

Creating a firewall exception

 

  • Allow an app or festure through Windows Firewall - The more secure exception
  • Port number - Block or allow
  • Predefined exceptions - List of common exceptions
  • Custom rule - Every firewall option

 

 

 

 

 

 

 


 

 

 

Create a Windows Firewall

 

 

 

 

Advanced settings

 

Go to 'Control panel' > 'Windows Defender Firewall' > 'Advanced settings'

 

 

 

 

 

 

 

New Rules

 

 

 

 

Click any categories you want to make the firewall > Right click 'New Rules' 

 

 

 

 

 

New Outbound Rule Wizard

 

 

 

 

 

Then, you can see this wizard and select an option you want to set up

 

Creating a firewall exception

 

  • Allow an app or festure through Windows Firewall - The more secure exception (Program)
  • Port number - Block or allow
  • Predefined exceptions - List of common exceptions
  • Custom rule - Every firewall option

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Program

 

 

 

 

 

Program

 

 

 

Choose either All programs or This program path and hit 'Next'

I set up the path as Microsoft Egde App so, if the firewall that I set up works porperly, I cannot connect to Microsoft Edge

 

 

 

 

Action

 

 

 

Let's block all connection so that the connection does not work and hit 'Next'

 

 

 

 

 

 

 

Profile

 

 

 

Choose the option when a computer is connected to and hit 'Next'

 

 

 

 

 

 

 

Name

 

 

Name to the firewall and hit 'Finish'

 

 

 

 

 

 

 

 

New firewall

 

 

 

Now we can see there is a new firewall I made

Let's check it's working porperly

 

 

 

 

Before setting firewall

 

 

We can see Microsoft Edge is working before I set up the firewall about it

 

 

 

 

 

 

After setting firewall

 

 

Now we cannot reach to google.com because the firwall is working properly

 

 

 

 

 

 

 


 

 

 

 

Port

 

 

 

 

 

 

 

 

Port

 

 

 

Choose a 'Port' option and click 'Next'

 

 

 

 

 

 

 

Protocol and Ports

 

 

 

  • TCP - HTTP or Web traffic, a connection-oriente protocol, retransmission of lost data packets possile ONLY
  • UDP - a connectionless protocol, a much faster, simpler, and efficient protocol

 

So, I choose TCP and set the specific remote ports to 80 and 443

 

 

 

 

 

 

 

 

 

Action

 

 

Choose the action be taken when a connection matches the specified conditions

Let's do Block the connection and click 'Next'

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Profile

 

 

 

Choose when the rule apply and click 'Next'

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Name

 

 

 

Name the firewall and click 'Finish'

 

 

 

 

 

 

 

 

 

 

 

New firewall

 

 

 

We can check new firewall is set up

 

Let's check the firewall works

 

 

 

 

 

 

 

 

 

 

Before setting firewall

 

 

It is working well before I set up the firewall

 

 

 

 

 

 

 

 

Before setting firewall

 

 

We can still see google.com, which means that the firewall rule is not working, what's actually happened is it loaded from cache

 

 

 

 

 

After setting firewall

 

 

 

I typed x.com and we can see the firewall is working

 

 

 

 

 

 

'Computer' 카테고리의 다른 글

Laptop Hardware (updating...)  (0) 2024.02.18