Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » Restrict IP Address Range on Windows PC
  • Fixing TPM Vulnerability
    How to fix a vulnerable Trusted Platform Module [TPM] Windows
  • You are currently signed in as
    How to fix “You are currently signed in as: Use a different account-this account is managed by your organisation” Microsoft Exchange/Office/365
  • dfeef
    How to automatically resolve errors associated with failed dependencies Linux
  • slide office 365 79
    Configure WSUS Email Notification for Office365 Windows Server
  • How to Install Windows Admin Center on Windows 10 11​
    Install Windows Admin Center on Windows 10 and Windows 11 Windows
  • wacxx
    Test Network Connection to Windows Admin Center Gateway Scripts
  • teams feature
    How to install and configure Microsoft Teams on Ubuntu Linux
  • images
    Advantage of using a 3rd party software for Backup (N2WS by Veeam) over AMI Backup

Restrict IP Address Range on Windows PC

Posted on 14/04/202314/04/2023 Imoh Etuk By Imoh Etuk No Comments on Restrict IP Address Range on Windows PC
Windows-Logo

The security of your Windows PC is very important. You can restrict a certain IP Address range from establishing an inbound connection to your computer. In this post, I show you how to restrict IP Address range on Windows PC that can remotely connect to my Windows PC. This can be achieved through the use of the Windows Defender Firewall advanced option. An IP address (Internet Protocol address) is a unique numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. It serves as a unique identifier for devices to communicate with each other over a network. Learn how to Add a Printer Using an IP Address in Windows 11.

What are an IP Address, and MAC address?

An IP address consists of a series of numbers separated by dots, such as 192.168.1.1. There are two versions of IP addresses currently in use, IPv4 and IPv6. IPv4 addresses consist of 32 bits, while IPv6 addresses consist of 128 bits. IP Address is different from MAC Address which stands for Media Access Control address. MAC address is a unique identifier assigned to a network interface controller (NIC) for use as a network address in communications within a network segment. If you’re facing the problem of IP Address not being reachable, review the IP Address UNREACHABLE: HTTP connection pool Max exceeded post. You can also check out how to configure a Windows client to obtain an IP Address automatically from a DHCP Server

The MAC address is a hardware address that is assigned to the physical network interface card (NIC) at the time of manufacturing. It is a 48-bit address and is usually represented in hexadecimal formats, such as 00:1A:2B:3C:4D:5E.

MAC address (Media Access Control address) is a unique identifier assigned to a network interface controller (NIC) for use as a network address in communications within a network segment. The MAC address is a hardware address that is assigned to the physical network interface card (NIC) at the time of manufacturing. It is a 48-bit address and usually represented in hexadecimal format, such as 00:1A:2B:3C:4D:5E.

MAC addresses are used for communication between devices on the same network segment, such as a local area network (LAN). Unlike IP addresses, which can change depending on network configuration, MAC addresses are fixed and do not change. 

How to Restrict IP Address

You can go through the following steps to achieve your configuration steps. Please see SSL Encrypted Communications explained, How to restrict access to removable Storage Drives, How to create a Windows firewall rule on Windows, SSL Encrypted Communications explained, How to Restrict Access to USB Drives, how to restrict additional Microsoft Support Diagnostic Tool downloads in Windows, and How to protect Remote Desktop credentials with Windows Defender Remote Credential Guard or Restricted Admin Mode.

Step 1:    Go to Control Panel – > System and Security

System-and-Security-options
System-Control-Panel

Step 2: Next, go to Windows Defender Firewall ->  Advanced settings.

Windows-Firewall
Windows Defender Firewall
Advanced-settings-main
Advanced Settings

Step 3:     Choose the Inbound Rules -> New Rules.

Inbound-rules-new-rule
Inbound Rule -> New Rule

Step 4: Choose Port, and click next.

choose-TCP-port
Choosing Port Option

Step 5: Select TCP and Specific local ports, type 3389 which is the port number for RDP in the textbox and click on Next.

select-specific-ports
Choose TCP

Step 6:     In the Action tab, choose to Allow the connection and click on Next. Please see the Top 10 communication software for Mac 202, and how to Fix SSO sign-in and non-routable domain issues.

Allow-connection
Allowing Connection

6.     In the Profile section, make sure you check  Domain, Private, and Public in the checkbox and click on Next.

check-domain-private-public
Selecting the Appropriate profiles

7.     In the Name tab, type a specific name for this policy and click on finish. The rule will appear in the list. I typed allow-tcp-connection as the name of the policy. You can use the name you prefer.

Type-the-and-click-finish
Provide the Policy’s Name

Restricting or Allowing IP Address Range in Windows Firewall

With the rule we have just defined, we can restrict access to a certain range of IP Addresses to allow them to communicate with our PC. To do this, follow the below steps;

Step 1: Check for and double-click the rule you created in the previous section, and choose the Scope tab.

Add-IP-Address-main

Step 2:     Choose These IP addresses in the Remote IP address as shown in the above screenshot, and click add. In the next screen, type the address or subnet in the textbox. Or choose “local subnet” under the Predefined set of computers.

Specify-IP-Range-single-1
Specify-IP-Range1-1
Note: You can choose to specify a range of IP Address or enter a single IP or subnet. For security reasons, do not expose your IP Addresses in the public except for demo purpose. 

Click on Okay to add the IP Addresses and click Apply and Okay to apply the scope.

Click-Apply-and-okay
Click on Apply and Okay

I hope you found this blog post helpful on how to Restrict IP Address Range on Windows PC. If you have any questions, please let me know in the comment section.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows, Windows Server Tags:IP Address, Microsoft Windows, Windows 10, Windows 11, Windows Server 2016

Post navigation

Previous Post: Get lists of installed Microsoft Windows Updates
Next Post: DNS uses TCP and UDP

Related Posts

  • Licensing
    Manage Windows Product key with Software Licensing Manager Windows
  • sandbox
    How to Configure Windows Sandbox Virtualization
  • banner
    Fix npm install hangs on “sill idealTree buildDeps” Linux
  • Featured image WSL2 installation
    How to install WSL2 on Windows Server Linux
  • Install and configure wds 1
    Install Windows Deployment Services on Windows Server 2022 Windows Server
  • screenshot 2020 02 08 at 15.53.31
    Enable Automatic Logon via Windows Registry Windows

More Related Articles

Licensing Manage Windows Product key with Software Licensing Manager Windows
sandbox How to Configure Windows Sandbox Virtualization
banner Fix npm install hangs on “sill idealTree buildDeps” Linux
Featured image WSL2 installation How to install WSL2 on Windows Server Linux
Install and configure wds 1 Install Windows Deployment Services on Windows Server 2022 Windows Server
screenshot 2020 02 08 at 15.53.31 Enable Automatic Logon via Windows Registry Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Fixing TPM Vulnerability
    How to fix a vulnerable Trusted Platform Module [TPM] Windows
  • You are currently signed in as
    How to fix “You are currently signed in as: Use a different account-this account is managed by your organisation” Microsoft Exchange/Office/365
  • dfeef
    How to automatically resolve errors associated with failed dependencies Linux
  • slide office 365 79
    Configure WSUS Email Notification for Office365 Windows Server
  • How to Install Windows Admin Center on Windows 10 11​
    Install Windows Admin Center on Windows 10 and Windows 11 Windows
  • wacxx
    Test Network Connection to Windows Admin Center Gateway Scripts
  • teams feature
    How to install and configure Microsoft Teams on Ubuntu Linux
  • images
    Advantage of using a 3rd party software for Backup (N2WS by Veeam) over AMI Backup

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,839 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.