Copy and paste the below command in the PowerShell Terminal as administrator.
Invoke-WebRequest -Uri https://clientreleases.s3.us-west-1.amazonaws.com/ngclient/windows/speerity-tunnel-installer.msi -OutFile ${env:tmp}\speerity-tunnel-installer.msi; msiexec.exe /i ${env:tmp}\speerity-tunnel-installer.msi /qn TOKEN='YourSecretToken' WORKSPACE='YourWorkSpace' USERNAME='YourUserName' RMI="yes"
Uninstall all the apps except the controller.
Invoke-WebRequest -Uri https://clientreleases.s3.us-west-1.amazonaws.com/ngclient/windows/speerity-app-uninstaller.msi -OutFile ${env:tmp}\speerity-app-uninstaller.msi; msiexec.exe /i ${env:tmp}\speerity-app-uninstaller.msi /qn
Invoke-WebRequest -Uri https://clientreleases.s3.us-west-1.amazonaws.com/ngclient/windows/speerity-uninstaller.msi -OutFile ${env:tmp}\speerity-uninstaller.msi; msiexec.exe /i ${env:tmp}\speerity-uninstaller.msi /qn
Copy and paste the below command in the PowerShell Terminal as administrator.
iex (New-Object Net.WebClient).DownloadString('https://clientreleases.s3.us-west-1.amazonaws.com/ngclient/windows/ControllerScript/clean-tunnel.ps1')
This script will stop and clean all tunnel services.
To reconfigure the tunnel. Run the below command as below. Replace the YourSecretToken, YourWorkSpace and YourUserName with the valid authtoken, workspace, and username.
Invoke-WebRequest -Uri https://clientreleases.s3.us-west-1.amazonaws.com/ngclient/windows/speerity-reconfigure.msi -OutFile ${env:tmp}\speerity-reconfigure.msi; msiexec.exe /i ${env:tmp}\speerity-reconfigure.msi /qn TOKEN='YourSecretToken' WORKSPACE='YourWorkSpace' USERNAME='YourUserName'
To reconfigure the tunnel. Run the command as below. Replace the YourSecretToken and YourWorkSpace With the valid authtoken and the workspace.
Invoke-WebRequest -Uri https://clientreleases.s3.us-west-1.amazonaws.com/ngclient/windows/speerity-reconfigure.msi -OutFile ${env:tmp}\speerity-reconfigure.msi; msiexec.exe /i ${env:tmp}\speerity-reconfigure.msi /qn TOKEN='YourSecretToken' WORKSPACE='YourWorkSpace '
Copy and paste the below command in Powershell Terminal as Asdministrator. This script will reconnect the tunnel.(First it will stop and the restart the tunnel.)
iex (New-Object Net.WebClient).DownloadString('https://clientreleases.s3.us-west-1.amazonaws.com/ngclient/windows/ControllerScript/reconnect.ps1')
Copy and paste the below command in the PowerShell Terminal as administrator. This script will reactivate/start the tunnel if it is configured and currently inactive/stopped.
iex (New-Object Net.WebClient).DownloadString('https://clientreleases.s3.us-west-1.amazonaws.com/ngclient/windows/ControllerScript/start_tunnel.ps1')
Copy and paste the below command in the PowerShell Terminal as administrator. This script will deactivate/stop the tunnel if it is configured and currently active/running.
iex (New-Object Net.WebClient).DownloadString('https://clientreleases.s3.us-west-1.amazonaws.com/ngclient/windows/ControllerScript/stop_tunnel.ps1')
Copy and paste the below command in the PowerShell Terminal as Administrator. This will print detail of Speed Test
iex (New-Object Net.WebClient).DownloadString('https://clientreleases.s3.us-west-1.amazonaws.com/ngclient/windows/SASESpeedTest.ps1')
It will print output as below.
Copy and paste the below command in the PowerShell Terminal as administrator. This script will toggle the tunnel. If the tunnel is started, then it will stop, and vice versa.
iex (New-Object Net.WebClient).DownloadString('https://clientreleases.s3.us-west-1.amazonaws.com/ngclient/windows/ControllerScript/toggle_tunnel.ps1')
Copy and paste the below command in the PowerShell Terminal as administrator.
iex (New-Object Net.WebClient).DownloadString('https://clientreleases.s3.us-west-1.amazonaws.com/ngclient/windows/ControllerScript/display_log.ps1')
Prints log on terminal from log file
Copy and paste the below command in the PowerShell Terminal as administrator.
iex (New-Object Net.WebClient).DownloadString('https://s3-api.speerity.net/scripts/wglog.ps1')
Prints log on terminal from log file
An example of the client connection activity is shown below:
2023-10-11 07:10:48.936075: [TUN] [ws-user-window] Sending handshake initiation to peer 1 (199.231.167.118:51828)
2023-10-11 07:10:48.984033: [TUN] [ws-user-window] Receiving handshake response from peer 1 (199.231.167.118:51828)
2023-10-11 07:10:48.984033: [TUN] [ws-user-window] Keypair 128 destroyed for peer 1
2023-10-11 07:10:48.984033: [TUN] [ws-user-window] Keypair 130 created for peer 1
2023-10-11 07:11:09.740842: [TUN] [ws-user-window] Sending keepalive packet to peer 1 (199.231.167.118:51828)
2023-10-11 07:11:58.838027: [TUN] [ws-user-window] Sending keepalive packet to peer 1 (199.231.167.118:51828)
If you see client failing handshake etc. this means there is a issue with the connection. In these error cases, you can try
If you continue to see the issues, you can always contact Exium support at support@exium.net
Copy and paste the script below
iex (New-Object Net.WebClient).DownloadString("https://s3-api.speerity.net/clients/windows/speerity-controller-install.ps1")
Prints details of all SASE Processes ( TrayApp, Monitor Process ID, Owners Details)
iex (New-Object Net.WebClient).DownloadString('https://clientreleases.s3.us-west-1.amazonaws.com/ngclient/windows/GetSASEProcessDetails.ps1')
Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct | Select-Object displayName
ls 'C:\Program Files\WireGuard\'
Get-Package | Where-Object { $_.Name -eq "Speerity" }
cat c:/programData/Speerity/speerity-tunnel-log.txt
Get-Service -Name 'WireGuardTunnel$*' | Select-Object DisplayName, Status
ls c:/programData/Speerity/temp/
cat c:/programData/Speerity/temp/config.conf
ls c:/programData/Speerity
To execute the installation script on your system, whether locally or remotely, you must install the NuGet package using the PowerShell Terminal with administrative privileges. Use the following command to install the NuGet package.
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force -ErrorAction SilentlyContinue
After the installation is finished, close the terminal. Open a new Admin PowerShell terminal and execute the following command to confirm that the package has been successfully installed.
(Get-PackageProvider -Name NuGet).Version
It will be looks like as shown In image.
To get PID of the DNS proxy running
Get-NetTCPConnection | Where-Object {$_.LocalAddress -eq "127.0.0.1" -and $_.LocalPort -eq 53} | Select-Object OwningProcess
To get process name
Get-Process -Id 5128