Configuring your Network to reach Nem's cloud

Hi there.

I saw a lot of people with some doubts about how to config the network to properly works.

I made the schemma to show some configurations. The IPs are fiction just to show how things get connected, but there is a relation among them. You need to check your's IP on your house / work.

First of all, lets see this image:


Link to this image: http://s30.postimg.org/vjrcfbcw1/internet_5.png

This example above is more complex and show most commom users necessities.

Detail: If you have only one modem, just make an server to foward the port directely to the device's IP.

In this example I have 3 modens on the LAN (local area network) and I need to connect my Nem's client to the cloud, whith uses the last modem to access the network and internet.

In order to make all this work, we need to make an server on the first modem to let the door 7890 open to the modem the computer whith nem is connected to.

You need to make the first modem whith active DHCP ( to deliver IPs for everyone) and for the others modems you need static IP for connecting to the fist modem.

Why this? Just one modem on the network can deliver IPs or you will notice a lot of network indisponibilty, cause everybody wants to deliver IPs to everyone.

Each modem on the network needs to have the DHCP enabled to those who connect them, like a cell phone.

On the bellow example I have the first modem and the second only. My first modem deliver IPs to everyone ( DHCP on) and this Cisco have an static IP on the first modem through DHCP Reservation using Mac Address. This avoids you have to configure the modems every time you turn them on cause IP change.

Link to this image: http://s29.postimg.org/en6rp7arb/Modem_Cisco.png
Example of server configuration to let pass port 7890

link to this image: http://s14.postimg.org/q4sd09b1d/port_forwarding.png
This is not an so easy matter.

Note: Usually you can change the modens configuration throught the internet browser writing the modens IP Or the main gateway. It'll be
asked for user and password. As example: 192.168.0.1 probably will access the first modem of your network.

Just take a search and you will easily find the user and pass of your modem.

After configure the modem(s) you will need to restart the network(probably).

But let me know if you did not understood.

I know the english could be better =) but no time to study more!!

Test here the aplication whith the configuration:

http://chain.nem.ninja/checknis/

http://YOUR_INTERNET_IP:7890/node/info like the example of the first pict: http://189.189.0.1/node/info
The address above should show the message: --> We have successfully reached your node!

If not something has gone wrong.

:wink:

cheers!!

Great work. Your pictures are too blur. Bad resolution. Would be good if we can have a better pic resolution so that I can follow what you are trying to say. :wink:

Very nice! Pics look good here, I am able to see everything clearly. Your english is much good to  ;D


Great work. Your pictures are too blur. Bad resolution. Would be good if we can have a better pic resolution so that I can follow what you are trying to say. ;)


Picts are not blurred, so it must be your browser. I recommend chrome.


Great work. Your pictures are too blur. Bad resolution. Would be good if we can have a better pic resolution so that I can follow what you are trying to say. ;)


Picts are not blurred, so it must be your browser. I recommend chrome.


I use chrome. I am not sure why but it seems there is a problem only with this one...

Thanks for the writeup !
Your network is overly complex though :slight_smile:
99% of users: Internet -> Router -> PC/Laptop/any device

Yes, as patmast3r already said: This won't help the most users since it is way to complex and therefor it is a very special case what you are describing.

And I think there are enough "how to open a port" tutorials out there. We should probably look for the best and link to it since you are right that a lot of nodes are misconfigured.

Thanks guys for feedback.

The problem is: I spend almost one week trying to configure the damn network  :stuck_out_tongue:

There is no explication over the internet for cases like this. specially when you have to foward the port "rights" to the other modem's IP.

But there is no stress at all.

If the Nemster have only one modem, just forward the port directly to the IP of the machine.

Just simple as it can be.

:wink:

cheers!!

As the number of misconfigured nodes show: A lot of users don't know that they have to forward a port or they don't know how to.

I found a good guide: www.howtogeek.com/66214/how-to-forward-ports-on-your-router/

It explains why port forwarding is needed at all and explains how it works for several routers.

Excellent guide. Most of my English, comes from the translator.  :'(    Now, I haven't activated chrome auto translate. I hope to learn more!



Bump!

I can not set, I tried many local IPs, but got no router screen of login.

There is no way to configure an alternative way? as a bridge made via software to any proxy? or something?

If you don't know your router IP (I think thats the problem here…?) it could help if you tell us what router model you got.
Example: A fritzbox is usually accessible via "fritz.box" (type that in the address field of your browser).

Another way is to look the IP up. Are you running win 7?


I can not set, I tried many local IPs, but got no router screen of login.
There is no way to configure an alternative way? as a bridge made via software to any proxy? or something?

I had an modem here (its trash now cause dont support my internet speed) that didnt have this option to make an foward door. The internet provider had bought a very simple modem cause its cost.

My actual modem now even supports internet IPV6  ;D

But, for nowadays modems its normal to have this option.

For modems its not normal, its not possible. Only routers can forward ports.



I can not set, I tried many local IPs, but got no router screen of login.
There is no way to configure an alternative way? as a bridge made via software to any proxy? or something?

I had an modem here (its trash now cause dont support my internet speed) that didnt have this option to make an foward door. The internet provider had bought a very simple modem cause its cost.

My actual modem now even supports internet IPV6  ;D

But, for nowadays modems its normal to have this option.
My router is a brand ubiquiti http://www.ubnt.com/airmax/bulletm/

There is a login screen to connect to the point where I get the internet radio. I think is necessary an administrator password to access the firewall, the support of my network does this type of maintenanceI will ask a friend who works there, how to open port.  :)

My not suport IPv6.  >:(

moved this to "how to section" and am giving it a bump for exposer.  it was the best guide for how to get a router set up.  if anybody else sees a better guide, please let me know

This guide is really good.  http://www.howtogeek.com/66214/how-to-forward-ports-on-your-router/  Thanks Mixmaster. 

I have a pretty simple system at my house.  I go from the wall, to the router, to my computer via ethernet cable.  This is how I went about to get it going. 

I was able to go into Windows Firewall and set the port 7890 to forward. http://windows.microsoft.com/en-us/windows/open-port-windows-firewall#1TC=windows-7
In Mac I wen to Settings (System Preferences) -> Security & Privacy -> Firewall -> Turn off Firewall (there might be a way to keep the firewall on and just allow NEM traffic on port 7890 through but I am not sure how to do it.  If somebody knows, please tell me.)

Next I needed to forward the port in my router.  I logged into the router address.  It is always something like 192.168.x.x and mine exactly was 192.168.0.1. 

Then I went to a section in the router called "Port Forwarding".  I choose to pick a range of ports to forward.  I started the range at 7890 and ended it at 7890 and then forwarded it to port 7890.  There will be an option to choose TCP or UDP and choosing only TCP is the best.  Then there is a choice to name the service for which you are setting up the port forwarding, so any name is good. I chose "NEM"

There is one more thing to do and it is kind of tricky.  The port when forwarded will need a specific IP address.  So you will need to know the IP address for your computer associated with that router.  The way to find this is to go to Command Prompt in Windows.  Once in command prompt type in "ipconfig".  At that point I saw my IPV4 address.  It should look somthing like 192.168.x.x xx.  Basically something that is kind of like your router address but just a little different, just a little different on the end. It'll probably a little longer.  That address is the one you need to forward 7890 to.  Once you've entered all the information, you can click save.  (for Mac go to Terminal and and type in "ifconfig -a")

So just for review, you should have something like this.

Protocol: TCP
Port Start: 7890
Port End: 7890
Port Map: 7890
Forward Address: 192.168.x.xxx

Some routers will update automatically, but some will need to be turned off and back on again.  If you have configured your router correctly then when you go to http://nembex.nem.ninja/#nodes you can see your NEM NIS name on the top half of node list (not in the red).  That means your node is in good shape and is supporting the network well.  If your node is listed on the bottom half, something wasn't configured correctly. 

Also, this was only my guide for Windows.  For some reason following these instructions with a Mac doesn't work.  There maybe was a bug that caused this problem that will be fixed next time.   Edit: I got it to work with Mac too!