Atlantic.Net Blog

How to Add a Custom Firewall Rule in Windows Server 2012

Jose Velazquez
by Atlantic.Net (70 posts) under Dedicated Server Hosting
0 Comments
Verified and Tested 03/24/2015

Introduction

In this How-To, we will walk you through Adding a Custom Firewall Rule in Windows Server 2012. We will be adding a custom RDP Port for this tutorial.

Prerequisites

– A Server with Windows Server 2012.

Adding a Custom Firewall Rule

Open Server Manager/ Click on Tools/ Select Windows Firewall with Advanced Security/ Select Inbound Rules and click New Rule under actions.Select

Adding a Custom firewall Rule in Windows Server 2012

Click new rule

 

Select Custom from the Rule Type radial button and click Next.

Adding a Custom firewall Rule in Windows Server 2012-2

Click Custom

 

Select the Program Association for the Custom Firewall Rule, either All programs or the path to a program, and click Next.

Adding a Custom firewall Rule in Windows Server 2012-3

Choose All Programs

Select TCP for Protocol type/ Select Specific Ports in the Remote port  and type your custom RDP Port (I am currently using port 1050 for this tutorial), then click Next

Adding a Custom firewall Rule in Windows Server 2012-4

Insert the port you want open; in this case, it is 1050

 

You can now specify if this rule applies to local IPs or Remote. (I will be leaving this blank so that I can access the server from anywhere through the specified port)

Adding a Custom firewall Rule in Windows Server 2012-5

Choose the IPs you want to be allowed or blocked. In this case, we are keeping everything open.

 

You can leave the default or select your action and click Next

Adding a Custom firewall Rule in Windows Server 2012-6

Choose Allow the connection

You can allow this rule to Domain, Private, and Public, or specify accordingly.

Adding a Custom firewall Rule in Windows Server 2012-7

Choose profiles that you want the rule to use. In this case, all.

Type the name of your rule, and you can give it a description if you want, then click Finish.

Adding a Custom firewall Rule in Windows Server 2012-8

Name your rule

 

You will now see that rule at the top of your list.

Adding a Custom firewall Rule in Windows Server 2012-9

You can now see your custom rule.

 

Congratulations! You have just Added a Custom Port in Windows Server 2012 on your Dedicated Server from Atlantic.Net! Thank you for following along in this How-To. Feel free to check back with us for any new updates.

Also, learn more about our VPS hosting services and VPS hosting price.

Get A Free To Use Cloud VPS

Free Tier Includes:
G3.2GB Cloud VPS Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

  • Seven Global Data Center Locations.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now! Med Tech Award FTC
SOC Audit HIPAA Audit HITECH Audit

Recent Posts

Top 10 Best Cybersecurity Training Services
How to Install Ansible on Oracle Linux 8
How to Install LEMP Server on Oracle Linux 8
How to Install and Configure Apache Webserver on Oracle Linux 8
How to Install and Configure Nginx Webserver on Oracle Linux 8

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G3.2GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2008 Lookout Dr,

Dallas, Texas 75044

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Resources