Installing nuVPN Gateway on Windows Server
Install on Windows Server in your office or in the cloud using a signed installer (MSI).
Requirements
Section titled “Requirements”- Windows Server.
- We recommend using a server or virtual machine dedicated to the gateway.
- No existing NAT on the machine. If the server already runs NAT, such as a Hyper-V NAT network or Routing and Remote Access, installation stops and displays the reason. In this case, install on a different server.
- Local administrator privileges.
- A public IP address or port forwarding from the office router to the server.
- An installation code from the partner panel.
Installation
Section titled “Installation”-
Download the installer
On the license page in the partner panel, download the MSI file and copy the installation command with your code. Command format:
Terminal window msiexec /i nuVPN-Gateway.msi TOKEN=<INSTALL_TOKEN> -
Run as administrator
Open a command prompt with administrator privileges and run the command. The installer checks that there is no existing NAT and that the VPN address range does not overlap with the local network. It also detects the server's office networks so that only traffic to those networks goes through the gateway.
-
Find the initial password
During an MSI installation, the initial password is not displayed. It is saved in
C:\ProgramData\nuVPN Gateway\initial-password.txt, which only SYSTEM and Administrators can read. The console sign-in page displays this path until you change the password for the first time. You must change the password when you first sign in. Changing the password deletes the file.To generate a new one-time password, run
nuvpn-gateway reset-passwordin a command prompt with administrator privileges. The command displays the new password, replaces the file and resets the user's second factor. -
Open the UDP port
The UDP port is displayed when installation finishes. Open this port for traffic to the server in your cloud provider's firewall or on the office router.
Console
Section titled “Console”The console is accessible only from the internal network and through the VPN, not from the internet. The gateway does not listen for console connections on a public address.
- For your first sign-in, sign in as
adminwith the initial password, choose a new password and set up a second factor: approval in the nuVPN app on your phone, or an authenticator app. Then invite the other administrators by name. See The local console. - After several failed sign-in attempts, sign-in is locked for a limited time. You can clear the lock from the server.
- The commands
nuvpn-gateway status,nuvpn-gateway users,nuvpn-gateway unbanandnuvpn-gateway reset-passwordwork on Windows Server in a command prompt with administrator privileges, withoutsudo.
Behavior during an outage
Section titled “Behavior during an outage”- An outage at nuVPN does not disconnect users who are already connected, and you can still revoke access. User revocations in the local console are enforced even without a connection to nuVPN servers. You cannot generate new profiles until the service is restored.
- If the directory is unavailable, no user's access is revoked. Synchronization waits until the directory is available again.
- Restarting the server or service does not delete users. The gateway starts with the same user list, and devices reconnect.
- A failure of the gateway or of the connection to it never leaves employees without internet. The app blocks only the tunnel to the office. Ordinary browsing on the device keeps working.
Updates and removal
Section titled “Updates and removal”- The gateway updates automatically according to the update policy and maintenance window set by the partner. If a new version fails to install, the previous version stays in place and devices keep working. The Maintenance page in the console shows the installed version, the next update and the result of the last update. See Updates and rollbacks.
- You remain responsible for Windows Update. We recommend scheduling a regular maintenance window so that restarts do not catch employees by surprise.
- Uninstalling the software from Windows removes the gateway and all its settings from the server.
