Server · tips and tricks

NeoRouter VPN: Tips and Tricks

NeoRouter Client: Configure proxy [Linux]

If the client host is behind a web proxy, you need to set a proxy server configuration:

sudo nrclientcmd -setproxy

Follow the steps to configure the proxy (sample output):

NeoRouter Free [Version]
Copyright (C) 2015 NeoRouter Inc.

Please choose from the following proxy option list:
1 No Proxy
2 Manual proxy configuration

To set proxy without autentication:

sudo nrclientcmd -setproxy http,,80,noauth

Note: Change and 80, respectively, to your proxy IP server and port.

After running the command above, the configuration Proxy.xml file is generated under the folder “/usr/local/ZebraNetworkSystems/NeoRouter”.

NeoRouter Client: Configure P2P Connection [Linux]

This option allows user to specify the connection type between this computer and its peers. The default option is UDP.

  1. UDP [Default] – Create a direct peer-to-peear UDP connection.
    This option is recommended for most home users.
  2. TCP – Create a direct peer-to-peear TCP connection.
    If your router or firewall block UDP packets or your network if not stable.
  3. Relay – Relay though server
    Force clients to use server to relay data. Useful when your network is not stable or your router uses special MTU value.

To configure on Linux:

sudo nrclientcmd -setconn

Choose your connection type (sample output):

Please choose from the following option list:
1 Create a direct peer-to-peer UDP connection
2 Create a direct peer-to-peer TCP connection
3 Relay through server

NeoRouter Server: Port check

For server ONLY. When you install the NeoRouter Server, you need to make sure a listening port (default port 32976 and TCP protocol) can be access from the Internet. NeoRouter clients do not require any port opened to the Internet.

If you are running the NeoRouter Server in-a-box and put the router on the Internet, you don’t need to do anything.

If you are running a NeoRouter Server on a computer or device behind a NAT, you may need to change the router configuration to either enable the UPnP or set the port forwarding.

You can use the link to verify your open port:

NeoRouter Client: Works as Application Mode [Linux]

To disable the autologin (stop client service from autostart) and force it to work only when NeoRouter Client (“”) is started/running:

Stop the service:

sudo service stop

Remove the service from autostart:

sudo update-rc.d -f remove

Edit the file /usr/bin/

sudo nano /usr/bin/

And replace with the contents for this:

sudo /etc/init.d/ start
sleep 1s
java -jar /usr/bin/nrclient.jar
sudo /etc/init.d/ stop
exit 0

Make “” executable by any user with sudo rights:

sudo visudo

Add this line on the end:

%sudo ALL=NOPASSWD: /usr/bin/

NeoRouter Client: Reset all Configurations [Linux]

sudo service stop
sudo rm -rf /usr/local/ZebraNetworkSystems/NeoRouter/*.xml
sudo rm -rf /root/.NeoRouter
rm -rf ~/.NeoRouter

NeoRouter Client: Adding Application Shortcut to Menu [Linux]

Putting the application shortcut in the desktop menu. Works on almost any Linux distro.

Downloading/saving the icon:

sudo wget -q -O /usr/local/ZebraNetworkSystems/NeoRouter/neorouter.png

Edit the file:

sudo nano /usr/share/applications/nrclient.desktop

And add the contents:

[Desktop Entry]
Name=NeoRouter Network Explorer
Exec=gksudo /usr/bin/

Install NeoRouter Server and Client for Windows and Linux


Follow this steps to install the NeoRouter Server from the official online manual.
Follow this steps to install the NeoRouter Client from the official online manual.


Follow my own article: NeoRouter VPN: How configure a server and client on Debian based (Ubuntu/Debian/Raspbian)

Some helpful commands and tools for managing [Linux]

Here are a few helpful commands for monitoring and managing your NeoRouter VPN:

NeoRouter Web Console  aka NeoRouter Configuration Explorer (requires user with Admin privileges)
NeoRouter Network Explorer (user with Admin or User privileges – recommend to use browser Chrome)
To access your NeoRouter Linux client: nrclientcmd
To restart NeoRouter Linux client: sudo service restart
To restart NeoRouter Linux server: sudo service restart
To set domain: nrserver -setdomain YOUR-VPN-NAME domainpassword
For a list of client devices: sudo nrserver -showcomputers
For a list of existing user accounts: sudo nrserver -showusers
For the settings of your NeoRouter server: sudo nrserver -showsettings
To add a user account: sudo nrserver -adduser username password user
To add admin account: sudo nrserver -adduser username password admin
For a complete list of commands: nrserver -help


Um comentário em “NeoRouter VPN: Tips and Tricks

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do

Você está comentando utilizando sua conta Sair /  Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair /  Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair /  Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair /  Alterar )


Conectando a %s