📜 ⬆️ ⬇️

Remote connection to the CodeMeter network key for ARCHICAD

Architects often work remotely from the office of the employer: when working on the road with a client, working on a contract. How to get a license for ARCHICAD® in this case? Buying a personal license is expensive. But it’s also difficult to get an ARCHICAD license from an employer - most often an online version of ARCHICAD works in an organization that you cannot take with you. And if local licenses are used (which is more expensive), then it is problematic to transfer a physical USB-protection key CodeMeter to a remote worker. Few people know that there is a way out of this situation: system administrators can configure access to a network security key for a remote worker - and provide an ARCHICAD license.


This article contains many technical issues and in the first place will be of interest to system administrators, as well as users with IT experience. However, the leaders of organizations and architects will be able to learn interesting knowledge. At a minimum, you will learn that such a scheme of work is possible.

Content



Methods and conditions for connecting to the CodeMeter network key


Remote connection to the CodeMeter network key is possible in two ways:
')

Starting conditions for organizing a remote connection to the CodeMeter network key:


Attention! A server operating system is not required for the operation of the CodeMeter server. You can use any computer with operating systems Windows 7, 8, 8.1, 10, or MacOS X 10.8, 10.9, 10.10, 10.11. Compared to individual keys, the CodeMeter server provides flexibility in the distribution of licenses, since they are dynamically distributed / returned to users automatically as needed and upon request from the user (during ARCHICAD start / unload). The CodeMeter server should work throughout the working day of CodeMeter clients.

The organizational structure (Fig. 1) shows the organization's local network, remote organization office, and home computer. All IP addresses on the organizational structure are fictional. To set up a remote connection to a network key correctly, IP addresses must correspond to real IP addresses provided by the provider and administrator of the local network. Examples of settings in the text below will be given on the basis of this organizational network diagram.


Fig. 1. Organizational network layout

Connect to the CodeMeter network key via the Internet


General provisions


Connecting to the CodeMeter network key via the Internet may be useful in cases where the company has representative offices in other regions or a certain number of employees working from home. Using this solution, they can access the CodeMeter network key.

Benefits:



Disadvantages:



Attention! Without setting the allowed client IP addresses, everyone who knows the IP address of the server can use the ARCHICAD license.

Setting up a CodeMeter server


On a computer that acts as a CodeMeter server, you must perform the configuration, which consists of the following steps:


The remaining settings remain unchanged, by default.

Configuring the CodeMeter Client


On a computer that acts as a CodeMeter client, you must perform the configuration, which consists of the following steps:


Connect to the CodeMeter network key via VPN


General provisions


VPN (Virtual Private Network) is a virtual private network.

Connecting to the CodeMeter network key via a VPN can be useful in cases where the company has representative offices in other regions or a certain number of employees working from home. Using this solution, they can access the CodeMeter network key. VPN must be configured and tested correctly. The computers of the CodeMeter server and the CodeMeter client must be connected to a VPN.

Benefits:



Disadvantages:



Setting up a CodeMeter server


Setting up a CodeMeter server for a VPN is almost the same as setting up a CodeMeter server for the Internet. On a computer that acts as a CodeMeter server, you must perform the configuration, which consists of the following steps:


Configuring the CodeMeter Client


Setting up a CodeMeter client for a VPN is almost the same as setting up a CodeMeter client for the Internet. On a computer that acts as a CodeMeter client, you must perform the configuration, which consists of the following steps:


After all the specified settings have been completed on the server side and the CodeMeter client, and if you have access to the VPN network, you can run ARCHICAD on the CodeMeter client computer. ARCHICAD has to pick up a free license from the computer of the CodeMeter server.

Administration of the CodeMeter server


To administer the CodeMeter server, it is recommended to set up the login and password for configuration settings on the Configuration / Basic / Administration tab, as well as to allow remote reading (Fig. 15). This will protect the settings of the CodeMeter server from unauthorized changes and provide an opportunity to change these settings remotely, knowing the login and password of the administrator of the CodeMeter server.


Fig. 15. Configuration / Basic / Administration tab

To change the server settings remotely, you need to type 93.23.15.27:22350/ (as applied to the organizational chart) on the remote computer, after which the CodeMeter administration panel will open.

Attention! For convenient viewing and management of settings, it is recommended to create the CodeMeter.ini file in the CodeMeter installation directory ( C: / Program Files (x86) / CodeMeter / Runtime / bin / ) on both the computer of the CodeMeter client and the computer of the CodeMeter server. When you create an empty CodeMeter.ini file and run the CodeMeter Control Center, all the basic settings and parameters will be registered in this file and grouped into sections. You can also add data to the file yourself - for example, the IP addresses of the servers to search for or the IP addresses of clients to access the license on the CodeMeter server (Fig. 16).


Fig. 16. Example CodeMeter.ini file

Practical advice


The basic settings are presented, but we must bear in mind that the networks can be built in different ways and with different protections. What features can be encountered and how to get out of these situations?

  1. On the client and server, the versions of the CodeMeter drivers do not match. You must install the same driver versions and perform the settings previously specified.

  2. There is no network license on the CodeMeter key. Upgrade a license using the GRAPHISOFT License Manager Tool utility. You need to insert the key into the USB connector and run the utility through the Start / GRAPHISOFT / GS License Manager Tool menu. Using the Monitoring of licenses tab (Fig. 17) on the CodeMeter administration panel, make sure that the license has become networked with the number of available and occupied licenses at the moment.


    Fig. 17. License Monitoring Tab

    Attention! In this dialog box, when you click on the desired product code (in our case, 61 for ARCHICAD), you can see who (what IP address) is using the licenses at the moment.

    To determine the IP addresses of computers on the network and the availability of computers on the network, use the ipconfig and ping commands in the Windows command line or network utilities on MacOS.

  3. The client does not see the server. There can be many reasons, consider the main ones:

    • The ports of the network server (22350) and the CmWAN server (22351) are not routed to external access. Ask your organization’s local network administrator to forward ports 22350 and 22351 from the CodeMeter server (IP address: 192.168.0.2) to external access by the router (IP address: 93.23.15.27). Check that the port is forwarded, by typing in the browser of the client machine 93.23.15.27:22350/ (applicable to the organizational chart). A CodeMeter server administration panel should appear;

    • The ports of the network server and the CmWAN server do not match on the server and the CodeMeter client. It is necessary to specify the same ports and, if necessary, to ensure their overspeed. It is recommended to use the default ports;

    • In the client server's search list, the wrong IP address was entered (see Figure 12);

    • On the License Access Rights tab, add the static IP addresses of CodeMeter clients (see Figure 6);

    • A firewall blocks incoming and outgoing traffic (network packets). You need to provide a network connection for CodeMeter services;

    • Anti-Virus blocks access to CodeMeter services. You need to provide a network connection for CodeMeter services and the opening of ports.

Maxim Savinov

Source: https://habr.com/ru/post/321208/


All Articles