Difference between revisions of "NeoRouter"

From Amahi Wiki
Jump to: navigation, search
Line 1: Line 1:
To install '''NeoRouter''' (http://neorouter.com) VPN solution to your HDA (following instructions are for Amahi v7 CentOS):
+
{{WorkInProgress}}
 +
To install [http://neorouter.com NeoRouter] VPN solution to your HDA (following instructions are for Amahi v7 CentOS):
  
# Visit http://www.neorouter.com/Downloads.html#_page_nrfree_Linux and download the current version of NeoRouter Server for your Linux distribution. Mine was for RedHat/CentOS 64-bit server. Or from the command line: wget -c http://download.neorouter.com/Downloads/NRFree/<UpdateVersion>/Linux/<distro>/nrserver-<version>-<release>-<Arch>.<ext>. Example: http://download.neorouter.com/Downloads/NRFree/Update_2.1.2.4326/Linux/CentOS/nrserver-2.1.2.4326-free-centos-x86_64.rpm
+
* Visit [http://www.neorouter.com/Downloads.html#_page_nrfree_Linux Linux] page and download the current version of NeoRouter Server for your Linux distribution. Mine was for RedHat/CentOS 64-bit server.  
# Install: sudo rpm -i nrserver-<version>-<release>-<arch>.rpm
+
 
# If firewall is running, configure your firewall: In a terminal, run command "sudo nano /etc/sysconfig/iptables", add "-A INPUT -m state --state NEW -m tcp -p tcp --dport 32976 -j ACCEPT" before "COMMIT".
+
 
# After install, configure your server:  
+
:Or from the command line
## nrserver -showsettings
+
wget -c <nowiki>http://download.neorouter.com/Downloads/NRFree/<UpdateVersion>/Linux/<distro>/nrserver-<version>-<release>-<Arch>.<ext></nowiki>
## nrserver -setdomain myPrivateNetwork myDomainPassword
+
:Example
## '''Optional step to change VPN network IP range:''' nrserver -dhcp 10.1.1.0 255.255.255.0
+
<nowiki>http://download.neorouter.com/Downloads/NRFree/Update_2.1.2.4326/Linux/CentOS/nrserver-2.1.2.4326-free-centos-x86_64.rpm</nowiki>
## nrserver -showsettings
+
* Install
## nrserver -showusers
+
sudo rpm -i nrserver-<version>-<release>-<arch>.rpm
## nrserver -adduser serverbox password admin (substitute "serverbox" and "password" for whatever you want to use)
+
 
## nrserver -adduser jdoe password admin (substitute "jdoe" and "password" for whatever you want to use)
+
* If firewall is running, configure your firewall, in a terminal, run command
## nrserver -adduser bsmith password user (ditto)
+
sudo nano /etc/sysconfig/iptables
## nrserver -showusers
+
:add  
# '''Restart''' your HDA.
+
-A INPUT -m state --state NEW -m tcp -p tcp --dport 32976 -j ACCEPT
# Install the appropriate NeoRouter client package on a workstation and attempt to log into the network via one of the users previously created. For more details on client installation, go here: http://www.neorouter.com/wiki/index.php/NeoRouterWiki:ClientSetup
+
:before
# Optionally, install the NeoRouter client package on the same machine running the NeoRouter server package. This allows VPN users to connect with other services hosted by the same computer as the NeoRouter server. For example, VNC to remotely access the desktop of the HDA.
+
COMMIT
 +
 
 +
* After install, configure your server:  
 +
nrserver -showsettings
 +
nrserver -setdomain myPrivateNetwork myDomainPassword
 +
nrserver -showsettings
 +
nrserver -showusers
 +
nrserver -adduser serverbox password admin
 +
::'''NOTE:''' Substitute "serverbox" and "password" for whatever you want to use
 +
nrserver -adduser jdoe password admin
 +
::'''NOTE:''' Substitute "jdoe" and "password" for whatever you want to use)
 +
nrserver -adduser bsmith password user (ditto)
 +
nrserver -showusers
 +
::'''Optional step to change VPN network IP range:
 +
nrserver -dhcp 10.1.1.0 255.255.255.0
 +
* '''Restart''' your HDA.
 +
 
 +
* Install the appropriate NeoRouter client package on a workstation and attempt to log into the network via one of the users previously created. For more details on client installation, refer to [http://www.neorouter.com/wiki/index.php/NeoRouterWiki:ClientSetup Client Setup].
 +
 
 +
* Optionally, install the NeoRouter client package on the same machine running the NeoRouter server package. This allows VPN users to connect with other services hosted by the same computer as the NeoRouter server. For example, VNC to remotely access the desktop of the HDA.

Revision as of 21:51, 19 February 2015

Msgbox-WOPr.png Work In Progress
This article is currently undergoing major expansion or restructuring. You are welcome to assist by editing it as well. If this article has not been edited in several days, please remove this template.


To install NeoRouter VPN solution to your HDA (following instructions are for Amahi v7 CentOS):

  • Visit Linux page and download the current version of NeoRouter Server for your Linux distribution. Mine was for RedHat/CentOS 64-bit server.


Or from the command line
wget -c http://download.neorouter.com/Downloads/NRFree/<UpdateVersion>/Linux/<distro>/nrserver-<version>-<release>-<Arch>.<ext> 
Example
http://download.neorouter.com/Downloads/NRFree/Update_2.1.2.4326/Linux/CentOS/nrserver-2.1.2.4326-free-centos-x86_64.rpm
  • Install
sudo rpm -i nrserver-<version>-<release>-<arch>.rpm
  • If firewall is running, configure your firewall, in a terminal, run command
sudo nano /etc/sysconfig/iptables
add
-A INPUT -m state --state NEW -m tcp -p tcp --dport 32976 -j ACCEPT
before
COMMIT
  • After install, configure your server:
nrserver -showsettings
nrserver -setdomain myPrivateNetwork myDomainPassword
nrserver -showsettings
nrserver -showusers
nrserver -adduser serverbox password admin
NOTE: Substitute "serverbox" and "password" for whatever you want to use
nrserver -adduser jdoe password admin
NOTE: Substitute "jdoe" and "password" for whatever you want to use)
nrserver -adduser bsmith password user (ditto)
nrserver -showusers
Optional step to change VPN network IP range:
nrserver -dhcp 10.1.1.0 255.255.255.0
  • Restart your HDA.
  • Install the appropriate NeoRouter client package on a workstation and attempt to log into the network via one of the users previously created. For more details on client installation, refer to Client Setup.
  • Optionally, install the NeoRouter client package on the same machine running the NeoRouter server package. This allows VPN users to connect with other services hosted by the same computer as the NeoRouter server. For example, VNC to remotely access the desktop of the HDA.