Hyper Open Edge Cloud

How To Use A Rapid.Space CDN For Softklix

How to use a Rapid.Space CDN for Softklix
  • Last Update:2022-09-15
  • Version:001
  • Language:en

How to Use a Rapid.Space CDN For Softklix

After Installed Softklix and Started Softklix on Rapid.Space, we wish that anyone can access this service through the browser. So we need to request a domain, like the domain purchased from Godaddy. We are not going to describe the details of using a domain here. This article going to focus on how to add a Rapid.Space CDN (Frontend) with default domain(https://softinstxxxxxx.host.xunkongjian.cn/ or https://softinstxxxxxx.host.vifib.net/) to Softklix. 

Agenda

  1. Prerequists
  2. Get Rapid.Space Free CDN
  3. Validate
  4. Access Softklix

Prerequists

The VM we requested from Rapid.Space only have IPv6. Users cannot access the service Softklix through IPv4. In order to allow this, we need to use Rapid.Space CDN. 

Get Rapid.Space Free CDN

πŸ”—Panel Rapid.Space

There are two options here: "Get Free CDN!" or "Get Free Chinese CDN!". it depends if you need to use frontend outside China or inside China. Both frontend can be used for a service running on a host located inside or outside China. The only thing that matters is if you need your website to be easily accessible from outside China or from inside China. Here we take "Get Free CDN!" as an example for accessing outside China.

This action will lead to the configuration page of the frontend.

Enter Basic Parameters

Please fill the following fields in the configuration page:

  • Title: this is the title of your frontend, it is just to name the service inside the panel, which will be displayed in the list of Services. It is recommended that name it like your domain.
  •  Backend Type: Type of slave. If redirect, the slave will redirect to the given url. If zope, the rewrite rules will be compatible with Virtual Host Monster. Implemented are default, zope, redirect, notebook and websocket, not implemneted is eventsource. As Softklix uses websocket, please fill the blank with "websocket"  as shown.  
  • type:websocket Websocket Application Path List: Also please fill the blank to clearify the websocket application path which is defined by Softklix service: "RDP Notification" as shown. 
  • Backend URL: your service's IP address in the form. It can be an IPv4 or IPv6 address. For example, with IPv6: https://[XXXX:XXXX:XXXX:XXXX]:YYYY (YYYY is optional port if your service is listening on a special port). WARNING: the protocol (https:// ,https://, etc.) and the brackets are mandatory.
    • For example, the Softklix service deactivated the ens4 interface for static public IPv6, so it requires to set up NAT rules to redirect the network by following How To Redirect VPS Ports On Rapid.Space. As Softklix is running on port 5000, the NAT rules should add 5000 as well. In the end the Backend URL should be protocol://[nat-rule-url-tcp-5000] (such as http://[2001:67c:1254:64::ea6f]:15000) 
  • Custom Domain: we will use the default domain for this tutorial, which provides a valid SSL certificate. We can thus leave it to default

All other types can be left blank.

Validate

When the above configuration is completed, click on the "Proceed" button at the top of the page. The page will go back to the list of services. The frontend service takes few seconds to appear inside the list of your services. Wait a few seconds and click again on the "Services" button in the left menu. Click on the frontend service's title ("Softklix CDN", for example) to go to the configuration page of the service.

Click on the frontend service's title to go to the configuration page of the service.

Access hosting Subscription

On the screenshot above, the frontend is not ready yet because the "Connection Parameters" are not yet displayed. Please wait 10 or 15 minutes to reload the page and until there are information in the "Connection Parameters", it means the frontend is ready. 

Wait for connection parameters

You can access your frontend by clicking secure_accesshttps://softinst143775.host.vifib.net as an example.

Forward Port

Please access remotely to your windows server with softklix installed refer to πŸ”— How To Configure IPv6 Address To Get Remote Access To Windows VPS

Open Powershell from your Windows machine, forwarding connect address to the IPv6 address by Netsh interface portproxy commands:

netsh interface portproxy add v6tov4 connectaddress=127.0.0.1 connectport=5000 listenaddress=[your:IPv6:address] listenport=5000

Access Softklix

πŸ”— https://softinstxxxx.host.vifib.net (secure_access from connection parameters on panel)

Now you are using Rapid.Space CDN to access Softklix.

Please note that this free service has certain limitations:

  • Free services are only available for 6 months;
  • Free services can be stopped at any time by Rapid.Space without notification;
  • Free services users may be requested to confirm the services they use every month.