Difference between revisions of "NeoRouter"

From Amahi Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{WorkInProgress}}
 
{{WorkInProgress}}
To install [http://neorouter.com NeoRouter] VPN solution to your HDA (following instructions are for Amahi 7):
+
To install [http://neorouter.com NeoRouter] VPN solution to your HDA (Amahi 7):
 
 
* 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.
 
 
 
 
 
:Or from the command line
 
wget -c <nowiki>http://download.neorouter.com/Downloads/NRFree/<UpdateVersion>/Linux/<distro>/nrserver-<version>-<release>-<Arch>.<ext></nowiki>
 
:Example
 
<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>
 
* 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
 
  
 +
==Server==
 +
* [[Open_terminal_as_root|Open terminal as root]] and execute (64-bit):
 +
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>
 +
:or (32-bit)
 +
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>
 +
* Install (64-bit):
 +
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>
 +
:or (32-bit)
 +
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>
 
* After install, configure your server:  
 
* After install, configure your server:  
 
  nrserver -showsettings
 
  nrserver -showsettings
 
  nrserver -setdomain myPrivateNetwork myDomainPassword
 
  nrserver -setdomain myPrivateNetwork myDomainPassword
 
  nrserver -showsettings
 
  nrserver -showsettings
nrserver -showusers
+
* '''Restart''' your HDA.
 +
<!--nrserver -showusers
 
  nrserver -adduser serverbox password admin
 
  nrserver -adduser serverbox password admin
 
::'''NOTE:''' Substitute "serverbox" and "password" for whatever you want to use
 
::'''NOTE:''' Substitute "serverbox" and "password" for whatever you want to use
Line 30: Line 23:
 
  nrserver -adduser bsmith password user (ditto)
 
  nrserver -adduser bsmith password user (ditto)
 
  nrserver -showusers
 
  nrserver -showusers
::'''Optional step to change VPN network IP range:
+
::'''OPTIONAL''' step to change VPN network IP range:
 
  nrserver -dhcp 10.1.1.0 255.255.255.0
 
  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].
+
* 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.
+
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.