Wiki

NeoRouterWiki:ServerSetup

From NeoRouterWiki

(Difference between revisions)
Jump to: navigation, search
(Install NeoRouter server for Linux)
Line 8: Line 8:
Option 2 NeoRouter server for Linux: We currently support Ubuntu, Fedora and SUSE.
Option 2 NeoRouter server for Linux: We currently support Ubuntu, Fedora and SUSE.
-
Option 3 NeoRouter server for Linux-based firmware, like Tomato, OpenWrt, DD-Wrt. (Coming soon…)
+
Option 3 NeoRouter server for Linux-based firmware, like Tomato, OpenWrt, DD-Wrt.
=== Install NeoRouter server for Windows ===
=== Install NeoRouter server for Windows ===
Line 72: Line 72:
   b. Choose settings tab, and edit domain.  
   b. Choose settings tab, and edit domain.  
       [[NeoRouterWiki:ConfigurationExplorer#Settings]]
       [[NeoRouterWiki:ConfigurationExplorer#Settings]]
 +
 +
=== Install NeoRouter server for OpenWrt ===
 +
 +
NOTE:
 +
 +
* OpenWrt is an open source project and you can find the source code from http://openwrt.org/
 +
 +
* NeoRouter server is fully tested on LinkSys WRT54GL and Asus WL-520GU.
 +
 +
1. Connect to the router using ssh or telnet
 +
 +
2. Update available install packages using command
 +
 +
    opkg update
 +
 +
3. Install
 +
 +
    opkg install http://www.neorouter.com/Downloads/Linux_0.9.4.881/Kamikaze/neorouter_0.9-4.881_mipsel.ipk
 +
 +
4. Edit firewall setting for the NeoRouter listening port.
 +
 +
Open OpenWrt webUI and choose from menu "Network - Firewall - Traffic Control", add the following advanced rule:
 +
    Name: neorouter
 +
    Source: wan
 +
    Destination: Device
 +
    Protocol: TCP
 +
    Destination port: 32976
 +
    Action: accept
 +
 +
Alternatively you can use the following command:
 +
 +
    iptables -t nat -A prerouting_wan -p tcp --dport 32976 -j ACCEPT
 +
    iptables        -A input_wan      -p tcp --dport 32976 -j ACCEPT
 +
 +
5. Install NeoRouter client on any Windows computer, run NeoRouter Configuration Explorer to log on to the router using the router's root account and password, then configure the domain information.
 +
 +
=== Install NeoRouter server for Tomato firmware ===
 +
 +
NOTE:
 +
 +
* OpenWrt is an open source project and you can find the source code from http://www.polarcloud.com/tomato
 +
 +
* NeoRouter server is fully tested on LinkSys WRT54GL and Asus WL-520GU.
 +
 +
NeoRouter server for Tomato is provided as a custom build of the full tomato firmware in TRX format.
 +
 +
Please visit http://wiki.openwrt.org/OpenWrtDocs/Installing for instructions on flashing your router with TRX.

Revision as of 19:33, 18 January 2009

Contents

Setup NeoRouter Server

Note

Please setup NeoRouter server on only one computer within a physical network. On all other computers, please setup the NeoRouter client (NeoRouterWiki:ClientSetup).

Understand your options

Option 1 NeoRouter server for Windows: It requires a PC or a Home/Small Business server that is always powered on, has stable Internet connection and running Windows XP SP2 or above.

Option 2 NeoRouter server for Linux: We currently support Ubuntu, Fedora and SUSE.

Option 3 NeoRouter server for Linux-based firmware, like Tomato, OpenWrt, DD-Wrt.

Install NeoRouter server for Windows

1. Visit http://www.neorouter.com/Downloads.html and download NeoRouter Standard Edition for Windows.


2. Run the installation wizard you have just downloaded, choose NeoRouter server, and click the Next button.


3. Setup a domain name that can uniquely identify your virtual LAN. You will need to enter the domain name in the "log on to" box during sign in. See sign in for details (NeoRouterWiki:NetworkExplorer#Sign_In).


4. Setup the administrator account for your domain. You will need to enter the username and password during signin. See sign in for details (NeoRouterWiki:NetworkExplorer#Sign_In).


5. Ensure Universal Plug and Play (UPnP). The NeoRouter server listens at TCP port 32976 for remote client connections. If the server PC is behind a residential router, you need to ensure UPnP is enabled on the router. If your router does not support UPnP, please add a static port forward entry.


6. Finish

Install NeoRouter server for Linux

1. Visit http://www.neorouter.com/Downloads.html and download NeoRouter Server for your Linux distribution.

2. Install

  • Ubuntu: sudo dpkg -i neorouter-<version>-<release>.i386.deb
  • Fedora & SUSE: sudo rpm -i neorouter-<version>-<release>.i386.rpm

3. Configure firewall

  • Fedora:

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".

  • SUSE:
  a. Launch firewall configuration tool
  b. Choose "Allowed Services" in the left panel
  c. Choose "External Zone" in the first drop-down box
  d. Choose "NeoRouter server" in the second drop-down box
  e. Click "Add" button
  f. Click "Next"
  g. Click "Finish" to save the changes
  • Ubuntu does not support firewall.

4. Change admin password: After installation, NeoRouter server creates a default account with username "admin" and password "admin". User must immediately change the password to prevent unwanted access.

  a. Install NeoRouter client on another PC running Windows on the same 
     physical network NeoRouterWiki:ClientSetup.
  b. Launch NeoRouter Configuration Explorer, enter "admin" in both 
     username and password boxes and the server IP in the "log on to" 
     box. NeoRouterWiki:ConfigurationExplorer#Sign_In
  c. In Configuration Explorer, choose User Accounts tab, then edit the
     default "admin" account.
     NeoRouterWiki:ConfigurationExplorer#User_Accounts

5. Setup domain: NeoRouter domain functions like a dynamic DNS server. You can enter domain instead of server IP when signing in NeoRouter client.

  a. Launch NeoRouter Configuration Explorer
  b. Choose settings tab, and edit domain. 
     NeoRouterWiki:ConfigurationExplorer#Settings

Install NeoRouter server for OpenWrt

NOTE:

  • NeoRouter server is fully tested on LinkSys WRT54GL and Asus WL-520GU.

1. Connect to the router using ssh or telnet

2. Update available install packages using command

   opkg update

3. Install

   opkg install http://www.neorouter.com/Downloads/Linux_0.9.4.881/Kamikaze/neorouter_0.9-4.881_mipsel.ipk

4. Edit firewall setting for the NeoRouter listening port.

Open OpenWrt webUI and choose from menu "Network - Firewall - Traffic Control", add the following advanced rule:

   Name: neorouter
   Source: wan
   Destination: Device
   Protocol: TCP
   Destination port: 32976
   Action: accept

Alternatively you can use the following command:

   iptables -t nat -A prerouting_wan -p tcp --dport 32976 -j ACCEPT
   iptables        -A input_wan      -p tcp --dport 32976 -j ACCEPT

5. Install NeoRouter client on any Windows computer, run NeoRouter Configuration Explorer to log on to the router using the router's root account and password, then configure the domain information.

Install NeoRouter server for Tomato firmware

NOTE:

  • NeoRouter server is fully tested on LinkSys WRT54GL and Asus WL-520GU.

NeoRouter server for Tomato is provided as a custom build of the full tomato firmware in TRX format.

Please visit http://wiki.openwrt.org/OpenWrtDocs/Installing for instructions on flashing your router with TRX.