1. Home
  2. Knowledge Base
  3. Configuring Windows Firewall to Allow or Block IP Addresses

Configuring Windows Firewall to Allow or Block IP Addresses

The License Server Configuration application by default provides full access to the Network License Server. You can restrict access to the Network License Server by configuring firewall rules, allowing only authorized IP addresses. The firewall rules can be created using the stand-alone Windows Firewall With Advanced Security console. When the rules are broken, your firewall blocks the traffic.

This article explains how to allow or block specific IP addresses from accessing the Network License Server using the Windows Firewall With Advanced Security console.

Note that before you start allowing/blocking IP addresses using Windows Firewall, make sure you are logged in as administrator (i.e., not a standard user). Then, follow the steps below:

  1. Display the Windows Run dialog box by pressing the Win + R keys (the Windows key and the “R” key at the same time) on the keyboard. This will display the Windows Run dialog box.
  2. Type wf.msc in the Open entry and then press the Enter key or click the [OK] button.
    Run dialog box
  3. The Windows Firewall with Advanced Security dialog box will be displayed. Click on Inbound Rules.
    Windows Firewall with Advanced Security dialog box
  4. From the Actions panel on the right-hand side, click on New Rule… to set up a new rule.
    Actions panel
  5. The New Inbound Rule Wizard dialog box will be displayed. This dialog box allows you to create new firewall rules.
    New Inbound Rule Wizard dialog box
  6. On the Rule Type page, select the Custom radio button option and then click the [Next>] button.
    Rule Type page
  7. On the Program page, select the All programs radio button option and then click the [Next>] button.
    Program pageNote that the All Programs option causes the created rule to be applicable to all services running on your system. If you want to apply this rule only for CivilGEO licensing services, click the [Customize…] button. The Customize Service Settings dialog box appears. Choose the FlexNet License Server – civilgeo service under the Apply to this service radio button option and click the [OK] button.
    Customize Service Settings dialog box
  8. On the Protocol and Ports page, specify the protocols and ports to which the newly created rule will be applicable. Select the TCP option in the Protocol type dropdown entry. The Local port and Remote port dropdown options are enabled. Then, select the Specific Ports option in the Remote port dropdown entry, enter the port number in the input field, and click the [Next>] button.
    Protocol and Ports pageNote that there are two ways to find the port number on which your Network License Server is running:

    • Launch the CivilGEO License Server Configuration application. Select the Display Installed Network Licenses option and click the [Next>] button. The software will display the port number that the Network License Server is running on as shown below. Refer to this article in our knowledge base for more information.
      CivilGEO License Server Configuration wizard
    • Launch the CivilGEO License Manager utility. Select the Activate LAN-based floating network license option and click the [Next>] button. The software will display the port number that the Network License Server is running on as shown below. Refer to this article in our knowledge base for more information.
      License Manager utility
  9. On the Scope page, specify the IP addresses to which the newly created rule will be applicable. Select These IP addresses radio button option under the “Which remote IP addresses does this rule apply to?” header. Then click the [Add…] button.
    Scope page
  10. The IP Address dialog box will be displayed. This dialog box allows you to enter the IP address that needs to be allowed or blocked for the port number on which the Network License Server is running. Select This IP address or subnet radio button option, enter the IP address, and then click the [OK] button. You can also add an IP address range using the This IP address range radio button option.
    IP Address dialog box
  11. The IP address you have added will be displayed in the input field under These IP addresses radio button option. Click the [Next>] button.
    These IP addresses radio button
  12. On the Action page, choose either Allow the connection or Block the connection radio button option. Then click the [Next>] button.
    Action page

    • Selecting the Allow the connection radio button option will allow the specified IP addresses to access the port number that the Network License Server is running on.
    • Selecting the Block the connection radio button option will block access for the specified IP addresses to the port number that the Network License Server is running on.
  13. On the Profile page, choose the profile (Domain, Private, and Public) to which the newly created rule will be applicable. By default, all three checkboxes are checked. Then click the [Next>] button.
    Profile page
  14. On the Name page, specify the name for the newly created rule. Then click the [Finish] button.
    Name page
  15. The newly created rule will be added to Windows Firewall.

If you want more IP addresses to be subject to the created rule, double-click on the rule in the firewall controls to open the rule properties and select the Scope tab. Then, add additional IP addresses in the same manner as described in this article.
Blocked IPs Properties Scope tab

If you still face any issues, contact the CivilGEO technical support team. They will be glad to assist you further.

About the Author cxscvlgeo

  • Was this helpful?
  • YesNo

Was this article helpful?