Table of Contents
Learn how to set up and manage Windows Firewall to protect your Windows VPS.
Introduction
Configuring the Windows Firewall is crucial for securing your VPS. This guide will show you how to set up and manage the firewall.
Step 1: Open Windows Firewall
Access the Windows Firewall settings.
Open Control Panel:
- Go to “System and Security” > “Windows Defender Firewall.”
Open Advanced Settings:
- Click on “Advanced settings” to access firewall rules.
Step 2: Create Inbound Rules
Set up rules to allow or block specific traffic.
Create a New Rule:
- In the left pane, click on “Inbound Rules.”
- Click “New Rule” in the right pane.
Allow RDP Traffic:
- Select “Port” and click “Next.”
- Choose “TCP” and specify port 3389.
- Allow the connection and click “Next.”
- Name the rule and click “Finish.”
Step 3: Create Outbound Rules
Set up rules to manage outbound traffic.
Create a New Rule:
- In the left pane, click on “Outbound Rules.”
- Click “New Rule” in the right pane.
Block Unwanted Traffic:
- Select “Program” and click “Next.”
- Specify the path to the application you want to block.
- Block the connection and click “Next.”
- Name the rule and click “Finish.”
Conclusion
The Windows Firewall is now configured to protect your VPS. You can adjust the rules as needed to secure additional services.