*** Configuring your server Internal IP address.
In order for the data to be accessed from outside of your network, the network must know how to locate the server system. This is done via a process called port forwarding, in which connections to a specific port are forwarded to a specific computer. Since port forwarding only works to a specific IP address, you must configure your server to have a Static IP address. If this is not done, a reboot of the server may result in a new IP address being assigned to it which will break the remote access capabilities.
*** Port Forwarding
As indicated in the section above, port forwarding needs to be configured on your router. This allows connections from the outside world on a specific port to be routed to the internal IP address of your server. Unfortunately, different brands and models of routers have different configuration steps in order to enable port forwarding. But the general process is the same:
Log into your router.
Locate the port forwarding configuration area. On Linksys routers, it is available under "Games and Applications". On NETGEAR routers, it should be available under "Security > Services".
Create an entry that forwards port 12010 to the IP address of the computer that your Atrex Database Server is running on.
Please refer to the documentation that came with your router for instructions on how to configure port forwarding for your specific device.
*** Testing the Port Forwarding
One way to test the port forwarding outside of Atrex is through the Telnet program that is part of Windows. If you do not have Telnet installed, you can install this from the Add/Remove Programs function of Windows. It is available under the "Add/Remove Windows Components".
To test the connection, do the following:
Click the Windows Start Button.
Type "CMD" in the field and press enter.
At the command line, type the following and press enter. Replace the xxx.xxx.xxx.xxx with the external IP address of your server:
telnet xxx.xxx.xxx.xxx 12010
If the port forwarding is configured correctly, telnet will connect to the Atrex database server and the command window will go completely black.
If the Telnet connection fails or times out, then the port forwarding is not working correctly.
*** Connecting from the Outside World
Once the above steps have been completed, you will need to configure Atrex to point to the server using your External IP address. Using the same steps as you did to configure a workstation for client/server from within your network, you will use the internet IP address of your network instead of the internal IP address or name of your server.
If you do not know your internet IP address, you can connect to the following web site which will display your internet IP address. https://www.whatismyip.com/
The one major problem that you may run into at this point is if your internet IP address is a dynamic IP address. If you have a dynamic IP address, your internet service provider may change the address of your computer at any time, which would cause your Atrex configurations on remote systems to no longer be able to connect to your server.
There are two solutions to this. The first is to have your internet service provider change you to a static IP address. This is the easiest from your side, but may cost you a monthly recurring fee. If you already have a static IP address for your internet connection, you can skip to the next section.
The second is to get a free dynamic DNS entry from noip.com, available at noip.com/free. Once you have configured your noip DNS information, you will want to log back into your router and configure it to automatically update the noip account information (if your router directly supports noip services) when your IP address changes. Again, the steps for this vary with different routers, so please refer to the documentation for your router on how to configure it for noip support.*** Changes to the Atrex ConfigurationOnce you have the port forwarding enabled on your router, use the "Options - Locations - Location Setup" function from within Atrex to add a new data location for remote connections. When configuring this, you will use the External IP address in the IP address if you have a static IP. If you are using a noip account, you would enter the DNS name that you created at noip into the Host Name field of the location setup.
For each location that you have configured, change the Compression Level to Maximum to ensure the best performance for Atrex across the wide area connection and set the Remote Encryption option to Enabled.
By configuring Atrex to allow access to the outside world, you need to make sure that your connections are limited to only those that you want to have access to your data. To do this, you MUST ensure that all of the users configured in the Atrex Database Server Administrator use passwords that are unique and secure, including the default Administrator user.
Applies to Atrex 17+