Step 1: Submit a request for deployment
A private tunnel server deployment can be requested by submitting the following form on our website: https://www.flexihub.com/tunnel-server/#get_a_quote
NB: a private tunnel server is a paid feature. For pricing information, please check with our Sales Team.
Once requested, we can either deploy it on our server in your selected location (please, check with us about available options), or you can choose to use your own hosting and server.
If we host your private tunnel server, our engineers will set everything up for you. Otherwise, please follow the steps below.
Step 2: Aquire a dedicated PC
A server doesn't have to be particularly powerful. A 64-bit PC with 1 GB of RAM, a network adapter and 20 GB of HDD can make a perfectly good server.
Step 3: Get a public IP from your ISP
Your Internet Service Provider (ISP) should provide you with a public IP address (usually a paid option), so it can be possible to connect to your dedicated PC directly via the Internet.
Step 4: Install the OS
We're using the 64-bit version of CentOS 7 Linux distribution. Please, refer to one of the following installation guides for more information:
- Minimal base installation guide (headless): https://github.com/rharmonson/richtech/wiki/CentOS-7-Minimal-x86_64-Base-Installation-Guide
- Full installation guide (with the desktop environment): https://linoxide.com/how-tos/centos-7-step-by-step-screenshots/
Step 5: Enable SSH
SSH software packages are included on CentOS by default. For more information on SSH configuration, please refer to: https://phoenixnap.com/kb/how-to-enable-ssh-centos-7
Step 6: Provide our engineers with the SSH access to your dedicated server PC
Our engineers are going to connect to your dedicated PC remotely, install and configure all the tunnel server components.
Should you decide to install it yourself, we will provide you with the installation package (fredd3) that you can deploy by following the steps described below.
Step 7: Tunnel Server Installation
1. To install fredd3 on CentOS, run the following command:
(the command is executed from the directory with the new RPM package)
2. Make sure the daemon is successfully installed:
The output example:
Note: If ‘disabled’ is displayed at the end of the second line:
you will need to run the command to enable the autostart of the tunnel server upon reboot:
Step 8: Configure your private tunnel server
1. Place the provided configuration file fredd3.conf at the /etc directory. If the directory already contains the same file, replace it.
2. Run the following command to get the certificate:
Your tunnel server should make a request at the address https://account.flexihub.com:8063
3. Reboot your tunnel server:
Now, the tunnel server should be connected to the FlexiHub central server (account.flexihub.com:9063).
Step 9: Configure the firewall
To configure the firewall on a computer with the tunnel server:
1. Allow the outgoing connections for the program /opt/ElectronicUS/fredd3/bin/fredd to account.flexihub.com and ports: 8063 (HTTPS) and 9063 (TCP / SSL).
2. Allow the incoming connections to the TCP port specified in the configuration file (see above) and the TCP port you specified when requesting fredd3.conf.