pi-node / instructions

254 stars 154 forks source link

Port Forwarding for multiple IP addresses #2

Open engboniface opened 4 years ago

engboniface commented 4 years ago

I have configured port forwarding on my router for two laptops I intend to use for node testing on the same local network. However, on my router i cannot specify the entire port range for both IPs (i.e 31400-31409). So i have split the range as such.

Laptop 1 IP: 192.168.0.13 port range: 31400-31404 Laptop 2 IP: 192.168.0.10 port range: 31405-31409

Is this configuration sufficient for proper running of the node? The Pi Node software shows all green on the setup and I've got the "Turn the Node on for testing" window on both laptops. See screenshots attached.

If i get more computers on this network to use for node testing, say for instance 10 computers, can i forward one port to an individual corresponding IP? Will this suffice for running the nodes? Please advise. My router make & model: Technicolor TC7200.

Capture Capture1 Capture2

perapera57 commented 4 years ago

Dear engboniface, can you help me with ports? I made inbound ports at firewall advanced settings, now i need to set them in a router settings. Do you know where and what i need to set, and where can I check ip which should be written. Thanks a lot! Capture2 Capture1

engboniface commented 4 years ago

@perapera57 We should deal with only one issue per thread to keep everything neat. Also your issue may not get the deserved attention if posted as a comment here. Please report a new issue. Anyway, port mapping is what you need to configure, Internal host IP should be your IP. External host IP 0.0.0. Both internal and external ports 31400-31409. See my config below image

ihatejam commented 4 years ago

Neither of the node PCs will be able to function in this configuration. In reality, half the ports on each PC is failing, but the port check from Pi Network's side is unaware that the you've split the port assignments between 2 PCs. In its current form, only one Node PC can exist per network (unless you paid for some 3rd party VPN that offered port forwarding)