Remote access
If you’re interested in logging in to KS Assistant while away, you’ll have to make your instance remotely accessible. Below are a few options to do this.
KS Assistant Cloud
Users of KS Assistant Cloud
A unique remote URL will be generated and given to you along with a certificate so all your traffic to KS Assistant is encrypted automatically.
VPN
A secure way to remotely access your KS Assistant is to use a Virtual Private Network (VPN) service such as Tailscale
A VPN connection needs to be established before you can connect to your KS Assistant from outside your local network. The VPN makes this connection secure. When using the KS Assistant Companion app (such as on a mobile device), without this connection, your sensors will not update in KS Assistant.
Port forwarding
Set up port forwarding (for any port) from your router to port 8123 on the computer that is hosting KS Assistant. General instructions on how to do this can be found by searching <router model> port forwarding instructions
. You can use any free port on your router and forward that to port 8123.
A problem with making a port accessible is that some Internet Service Providers only offer dynamic IPs. This can cause you to lose access to KS Assistant while away. You can solve this by using a free Dynamic DNS service like DuckDNS
If you cannot access your KS Assistant installation remotely, remember to check if your ISP provides you with a dedicated IP, instead of one shared with other users via a CG-NAT
Just putting a port up is not secure. You should definitely consider encrypting your traffic if you are accessing your KS Assistant installation remotely. For details, please check the set up encryption using Let’s Encrypt blog post or this detailed guide to using Let’s Encrypt with KS Assistant.
Adding a remote URL to KS Assistant
To set the URL under which your KS Assistant can be accessed from outside your local network, follow these steps:
- In the bottom left, select your username to go to your User profile, and make sure Advanced mode is enabled.
- Go to Settings > System > Network.
- Under KS Assistant URL, enter the external URL that you previously set up for your instance.