Tutorial

Step-by-Step Guide for First Time Setup





Create Domain



add-a-new-domain

Enter a name of your choice for the Domain. Select a domain for your link, and select a location for your Domain.




Create Agent



add-a-new-agent

Enter a name and location of your choice for the Agent, and select the domain to set up your Agent.




Install Agent (GL.iNet’s routers)



show-configuratio-options

Click on “Show Configuration Options”.

router

Click on “Router”.

select-your-gl.inet-router

Select your GL.iNet router.

copy-to-your-clipboard

Copy the Agent code by clicking “Copy to your clipboard”.

ssh-terminal

Access your router via an SSH terminal, Enter “192.168.8.1” under Host Name, enter “22” for Port, and click “Open”.

root

Login as “Root”, enter your router’s password and press enter.

paste-the-agent

Right click to paste the Agent, and press Enter to install the Agent in your router.

logread

After installing the Agent, enter “logread”, and your session should output “AstroRelay Client”.

connected

If your Agent is active, your client status should be showing “Connected”.




Install Agent (Non-GL.iNet routers)



show-configuratio-options

Click on “Show Configuration Options”.

router

Click on “Router”.

others

In the Router Model section, scroll to the bottom and select “Others”.

copy-to-your-clipboard

Copy the Agent code by clicking “Copy to your clipboard”.

arc-client-&-configuration

Click on “ARC client & configuration” to download and unzip the files.

winscp

Download and install WinSCP from https://winscp.net/eng/download.php

new-session

Click on “New Session”

scp-for-file-protocol

Select SCP for file protocol, enter the host name, port, username, password for your router, and click “Login”.

unzipped-files

Place all unzipped files of “ARC client & configuration” under /temp/. And restart your router if needed.




Install Agent (Windows)



show-configuration-options

Click on “Show Configuration Options”. Make sure your agent is enabled.

windows

Click on “Windows”.

arc-clien-&-configuration

Download “ARC client & configuration”

unzip-the-files

Run “arc.exe”

successfully-installed

Once the connection is accepted, the agent is successfully installed on your computer.




Remote SSH



add-link

In your Agent page, click on “Add Link”.

enter-a-name

Enter a name for your link, the Host IP address of your device, select SSH as the service, then click confirm to create the link.

server&port

Once the link is created, the URI and the port are listed under the “SERVER & PORT” column

copy-the-commands

For SSH remote access, click on “SSH” to copy the commands depending on your ssh client.

ssh-client-putty

Using the SSH client PuTTY, paste or enter the “Host Name” and “Port”.

enter-root-as-login

Enter root as login, and enter the password of your router’s admin panel, and you’ll have access to your router.




HTTP to HTTPS



confirm-the-local-web

First, confirm the local web server is running properly.

create-the-link

nter a name for your link, the Host IP address of your device, select HTTP to HTTPS as the service, enter the destination port (8080 in this case), then click confirm to create the link.

hyperlink

Once the link is created, you can click directly on “Hyperlink” under the “ACCESS” column to remote access your local web server.




Remote Desktop



remote-desktop-settings

On the PC that you wish to remote access, go to “Remote desktop settings”.

enable-remote-desktop

Click on “Enable Remote Desktop”.

edit-link

Enter a name for your link, the Host IP address of your computer, select Remote Desktop as the service, then click confirm to create the link.

link

Once the link is created, you can click directly on “Link” under the “ACCESS” column.

access

Copy the “Host Name” and the “Port”.

access

On your other computer, go to “Remote Desktop Connection”.

remote-computer

Enter the link and username for your remote computer and click “Connect”.

enter-the-password

Enter the password, and you’ll have access to your remote computer.




Add Restrictions (Optional)



link-tab

After logging in to AstroRelay, select any of your agents, or go directly to the “Link” tab

select-access

On any of your links, go to the extended options and select “Access”

ip-access-control

Click on “IP Access Control” to enable the feature.

allowed-list

Enter the IP addresses that are allowed to access your link in the “Allowed List” or enter the IP addresses that are not allowed to access your link in the “Blocked List”. Click “Confirm” to update your access control settings.