Changes

From Amahi Wiki
Jump to: navigation, search
116 bytes added ,  22:54, 20 February 2015
{{WorkInProgress}}
To install [http://neorouter.com NeoRouter] VPN solution to your HDA (following instructions are for 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:
nrserver -showsettings
nrserver -setdomain myPrivateNetwork myDomainPassword
nrserver -showsettings
* '''Restart''' your HDA.<!--nrserver -showusers
nrserver -adduser serverbox password admin
::'''NOTE:''' Substitute "serverbox" and "password" for whatever you want to use
nrserver -adduser bsmith password user (ditto)
nrserver -showusers
::'''Optional OPTIONAL''' step to change VPN network IP range:
nrserver -dhcp 10.1.1.0 255.255.255.0
* '''Restart''' your HDA.
* 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.
12,424

edits