This article explains how an IT administrator may manually configure the Windows Firewall to allow clients to access the Siemens licenses installed on that server.
The Siemens License Manager is actually two separate programs that work together to provide the licenses. The first program, lmgrd.exe, is written by a third party and provides initial communications between the server and the client(s). The second program, ugslmd.exe, processes license requests handed to it by lmgrd.exe and serves up the appropriate license(s) to each client.
A specific port is used by lmgrd.exe as specified in the license file on the SERVER line, which by default is set to 28000. However, by default no port is specified for ugslmd.exe, so a random high port number is assigned to it each time the service is started. In addition, there are two protocols used by these programs, TCP and UDP. Since, there are two programs with two protocols each, four Inbound rules are created in the Windows Firewall. In addition, at the administrator’s discretion the Inbound rules for lmgrd.exe may be limited to port 28000 only. The above image shows the Inbound rules as configured by the Siemens License Manager installer when it’s run successfully. The following steps show how to create the rules manually.
SETTING UP AN INBOUND RULE
We set up those Inbound rules using the Windows Firewall rule wizard.
1. Access the Windows Firewall rules using any of the standard methods, then right-click the Inbound Rules category and select New Rule…
2. Select the Rule Type. Here we select Custom, then click Next.
OK, so that completes the process to create one of the four rules. You will repeat this process 3 more times:
- Set lmgrd.exe, but apply it to the UDP protocol
- Set ugslmd.exe using the TCP protocol
- Set ugslmd.exe using the UDP protocol
Once the above processes have been completed you should have four new Inbound Rules in the Windows Firewall, and they should appear very similar to the ones shown at the introduction to this article. At that point your client PC’s should be able to access the Siemens License Manager on your server — no reboot is required!
I hope this was helpful to you. Thanks for reading.