Configuring Server Group for External Access (V6.14 onwards)
You have three Wavestore servers at the site are configured on a network with "internal" private IP addresses, and access is required from an "external" public IP address via a firewall which performs NAT.
As you know the Wavestore software defaults to using TCP Port 8601 for the client to server connections.
If the internal private IP address on the first server is 192.168.0.41 port 8601, and the external public IP address (of the internet router) is 213.229.98.157, then the router firewall can be configured to forward TCP port 8601 to the internal address.
When configuring the Server Group, remember the WaveView client connects directly to each server in the group, so multiple Wavestore servers need to be accessible via the external IP address. If only one public IP address is available on the router, it's possible to use multiple ports in the router firewall to connect to different servers. So you can either:
- configure the router firewall to forward these external ports to the different Wavestore servers, using TCP port 8601 (on each server)
OR
- for any servers that you wish to connect to on a different TCP port (e.g. TCP Port 8602 for Server 2 (Private IP: 192.168.0.42), TCP Port 8603 for Server 3 (Private IP: 192.168.0.43) and so), add a configuration section (containing details of that port) in the Advanced Configuration menu on the server
If you're using the second option, you'll need to follow these steps:
- In the WaveView login screen, untick the option for 'Connect to Server Group'
- Login to the server (using the internal private IP address as an install level user)
- Follow the menu path View -> Setup -> Server -> Configuration Editor
- The server configuration file will now be shown
- In the search box above the configuration file, enter the text 'Listen', then click on the '>>' button
- The configuration section named Listen will now be highlighted
- Expand the configuration menu tree by clicking on the [+] text to the left of the ‘Listen’ text
- If there is a configuration parameter already present beneath the ‘Listen’ section, right click on that line of text and - - select ‘Delete Parameter’
- Right click on the Listen text
- Left click on the 'Add Parameter' option
- On the prompt that appears, enter Port=n (where n is the number of the TCP Port that you want to use for the WaveView client software to access that particular server (e.g. 8602)
- Click OK
- The configuration section should now look similar to this
Listen
Port=n
e.g. in our example for Server 2 (connecting using TCP Port 8602), the section would look like:
Listen
Port=8602
- Click Save
- Follow the menu path View -> Setup -> Server -> General and click Restart Process (please note that after making these changes, when connecting to that server from any client PC you’ll need to enter the server IP address and port number e.g. 192.168.0.42:8602)
- Login (using the public IP address that the external users will use) to the server that you want to be the first server listed in the server group
- In the Server Group menu add the other servers to the server group list, in each case entering the external IP address and external port number that you'll use to connect to each server, e.g. 213.229.98.157:8601, 213.229.98.157:8602 etc.
You should then be able to connect to the Server Group from outside the firewall using the WaveView client. Most firewalls will also allow you to connect to the same servers using this same IP address from the internal network, though this will mean all the server-client data travelling via the firewall.