WAN / Remote Access

There are two ways of using Atrex from a remote location, using Atrex remotely on a system within your network via remote control software, or Atrex installed as a client on a laptop or system and connecting to the Atrex data directly.

Option 1.  With this option, you will use remote control software such as TeamViewer, Connectwise Control, or remote desktop (already part of Windows) to connect into and control a computer that is inside of your network. This will provide the fastest performance as it only has to transport the screen, keyboard, and mouse back and forth to the client computer.   Instructions and support for configuring the remote control software is provided by the companies that produce the software and does not require any configuration or support from Millennium Software.

Option 2 involves installing Atrex on a portable system such as a laptop or remote desktop and configuring Atrex to communicate directly to the Atrex Database engine installed on a "server" computer within your network.

The following is a general overview of the steps needed to allow Atrex to connect from a remote system outside of your network to the Atrex data located within your local area network.  
Please note that configuring your network to allow for remote access to the Atrex data involves making changes to your network setup and is something that would normally be done by your network administrator.  While Millennium Software can provide basic support, assistance with configuring your network for remote assistance is billable support at our normal support rates.
These instructions also make the assumption that you have already installed the Atrex Database Server on the server computer and have successfully configured Atrex for client/server access.   If you have not already done this, you can find instructions on how to do this in the Atrex help.  Press F1 from the main window and select "Using Atrex - Network/Multi-User Setup - Network Setup - Client Server" from the main help contents.
*** 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.

A good set of instructions for how to set up a Static IP address can be found at http://www.hotcomm.com/FAQ/FAQ_staticIPXP.asp .
*** 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:
  1. Log into your router. 
  2. 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". 
  3. 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:
  1. Click the Windows Start Button.
  2. Type "CMD" in the field and press enter.
  3. 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
  4. If the port forwarding is configured correctly, telnet will connect to the Atrex database server and the command window will go completely black.
  5. 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 Configuration

Once 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
*** Security
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+