Installing remote access tunnel
Last updated
Last updated
For Social WiFi to be able to authorize guests, it needs direct access to the Network Application, which usually means that it has to be reachable through the internet with a static, public IP address and port.
If this option is not available, please read below to learn how to install a remote access tunnel. It utilizes Wireguard, an industry-standard protocol for establishing a securely encrypted VPN. Social WiFi will use it to connect directly with the controller, which makes the service work in any environment - without any firewall configuration, port-forwarding and without public IP address.
To install the tunnel, you will need to obtain a command to run. This command is tied to your venue in Social WiFi dashboard, so you must contact Social WiFi Support so that we can generate the installation command for you.
This article is for UniFi devices that run Network Application, such as: Dream Machine, CloudKey, Dream Router, UniFi Express and others.
A Debug mode needs to be enabled in order to easily run custom scripts on the device. Read below to learn how.
Open unifi.ui and select your device:
Go to Network → System → Advanced. Find Debug Tools, select On and click Apply Changes.
Now, go to Devices → Select your device → Settings (cog icon), scroll down and click on Debug.
You should see a new window pop up:
If the "Connected" word is not displayed, or you encounter any other problems, please reach out to us.
To install the tunnel, you will need to obtain a command to run. This command is tied to your venue in Social WiFi dashboard, so you must contact Social WiFi Support so that we can generate the installation command for you.
As you get the command from us, please copy and paste it in the web console. (Ctrl+Shift+C and Ctrl+Shift+V).
Successfully completed script should return the following output:
The IP address should appear on the screen. This is the address that you will need to copy and paste in the Social WiFi Panel into the Hostname / IP address field. Please refer to the UniFi setup guide here.
The port will always be "443".
Please ensure that you've checked the "Use Proxy" flag while using this method.
Having trouble setting up? Contact us! We can assist you with the configuration.
If for some reason you would want to remove the tunnel, simply connect with the device using the same way as described here.
When the console window is visible, simply copy and paste this script:
After the script finishes, your tunnel should be uninstalled and you can close the console window.