Difference between revisions of "NeoRouter"

From Amahi Wiki
Jump to: navigation, search
(Install and Configure NeoRouter Server on Amahi HDA (CentOS))
 
 
(6 intermediate revisions by 2 users not shown)
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 (Amahi 7):
  
# 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
+
==Server==
# Install: sudo rpm -i nrserver-<version>-<release>.i386.rpm
+
* [[Open_terminal_as_root|Open terminal as root]] and execute (64-bit):
# 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".
+
wget <nowiki>http://download.neorouter.com/Downloads/NRFree/Update_2.1.2.4326/Linux/Fedora/nrserver-2.1.2.4326-free-fedora-x86_64.rpm</nowiki>
# After install, configure your server:  
+
:or (32-bit)
## nrserver -showsettings
+
wget <nowiki>http://download.neorouter.com/Downloads/NRFree/Update_2.1.2.4326/Linux/Fedora/nrserver-2.1.2.4326-free-fedora-x86_64.rpm</nowiki>  
## nrserver -setdomain myPrivateNetwork myDomainPassword
+
* Install (64-bit):
## '''Optional step to change VPN network IP range:''' nrserver -dhcp 10.1.1.0 255.255.255.0
+
sudo rpm -i <nowiki>http://download.neorouter.com/Downloads/NRFree/Update_2.1.2.4326/Linux/Fedora/nrserver-2.1.2.4326-free-fedora-x86_64.rpm</nowiki>
## nrserver -showsettings
+
:or (32-bit)
## nrserver -showusers
+
sudo rpm -i <nowiki>http://download.neorouter.com/Downloads/NRFree/Update_2.1.2.4326/Linux/Fedora/nrserver-2.1.2.4326-free-fedora-x86_64.rpm</nowiki>
## nrserver -adduser serverbox password admin (substitute "serverbox" and "password" for whatever you want to use)
+
* After install, configure your server:  
## nrserver -adduser jdoe password admin (substitute "jdoe" and "password" for whatever you want to use)
+
nrserver -showsettings
## nrserver -adduser bsmith password user (ditto)
+
nrserver -setdomain myPrivateNetwork myDomainPassword
## nrserver -showusers
+
nrserver -showsettings
# 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
+
* '''Restart''' your HDA.
# 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.
+
<!--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
 +
 
 +
* 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-->
 +
 
 +
==Client==
 +
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.

Latest revision as of 22:54, 20 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 (Amahi 7):

Server

wget http://download.neorouter.com/Downloads/NRFree/Update_2.1.2.4326/Linux/Fedora/nrserver-2.1.2.4326-free-fedora-x86_64.rpm 
or (32-bit)
wget http://download.neorouter.com/Downloads/NRFree/Update_2.1.2.4326/Linux/Fedora/nrserver-2.1.2.4326-free-fedora-x86_64.rpm 
  • Install (64-bit):
sudo rpm -i http://download.neorouter.com/Downloads/NRFree/Update_2.1.2.4326/Linux/Fedora/nrserver-2.1.2.4326-free-fedora-x86_64.rpm 
or (32-bit)
sudo rpm -i http://download.neorouter.com/Downloads/NRFree/Update_2.1.2.4326/Linux/Fedora/nrserver-2.1.2.4326-free-fedora-x86_64.rpm 
  • After install, configure your server:
nrserver -showsettings
nrserver -setdomain myPrivateNetwork myDomainPassword
nrserver -showsettings
  • Restart your HDA.

Client

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.