Most Powerful Open Source ERP

How To Use SDN For A Single Server

How To Use SDN For A Single Server with Re6st
  • Last Update:2025-03-04
  • Version:002
  • Language:en

How To Use SDN for a Single Server

Agenda

  • Prerequisites
  • Download Re6st
  • Run the Re6st installation script
  • Validation

Prerequisites

For this tutorial you will need to request a Re6st token, as well as have root access to the server on which you wish to install Re6st.

IMPORTANT: If you intend to use the free Re6st network, follow the linked tutorial above to request a free Re6st token.
Otherwise, if you intend to use the production Re6st network, you will need to open a ticket on the Rapid.Space Panel requesting a production Re6st token from a Rapid.Space administrator.

Download Re6st

For the free re6st network:

$ wget https://deploy.rapid.space/gnet/re6st

For the production re6st network:

$ wget https://deploy.rapid.space/re6st

On your server's root user, execute one of the commands above depending on the network on which you wish to register.

NOTE: The free network 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.

IMPORTANT: For servers in China: 

Please use this link for the free network: 

$ wget https://deploy.erp5.cn/gnet/re6st

Please use this link for the production network: 

$ wget https://deploy.erp5.cn/re6st

Run the Re6st installation script

$ sudo FORCE=yes bash re6st

After downloading the script to the current directory, you can execute it as the root user.

Enter your Re6st Token

...
Your token [notoken]: $Your_Re6st_Token

The script will download some packages and install re6st.
When prompted with the above line, input your Re6st token.

NOTE: If you are using copy/paste, beware of whitespace or invisible characters that might be added when pasting your token.

Enter your location

...
Manually enter your location (ignore if you want it detected automatically, format is "country code,continent code", e.g. "FR,EU") []:

The script will prompt you to input your location.

For servers in China: input "CN,AS".

For servers outside of China, you can rely on automatic detection or refer to ISO 3166-1 alpha-2 for country codes and GEOIP documentation for continent codes.

Enable Router Advertisement

Please skip or input no for this question:

Enable Router Advertisement [no]: no

You need to enable the router advertisement when Setup SDN On A Local Area Network. In that case you need to type exactly "yes".

Validation: Test IPv6

$ ip -6 route

Once the installation is done, there are multiple ways to check if you can access the IPv6 network.

For example, you can check IPv6 addresses with the above command $ ip -6 route.
You can also go to some IPv6 testing website such as https://test-ipv6.com/ with your different devices under the local network.