FluxNode Networking, Router, and Firewall Setup

 

FluxNode Networking, Router, and Firewall Setup 

Step 5 of Flux CUMULUS Node Setup


We are preparing our Mini PC for FluxNode deployment 

Q: What is a good router/gateway I can use with FluxNode?
A. There are plenty of consumer-grade routers that are sold that can work with FlunxNode but if you want a reliable and more advanced router that gives you a ton of flexibility with not just FluxNode but with getting your networking under total control, I would consider a Mini PC designed to run a firewall such as pFsense

1. Access your internet router's web interface and look for an option for either of these terms or similar - this may vary based on your router brand: 
DHCP Server Address ReservationDHCP ReservationsDHCP Leases, etc. Basically, the DHCP Server option, where we get to tie the MAC address of your HP Flux Node to a specific IP, so that it is always reserved for your node and automatically assigned by the router. When you find that setting, specify the MAC address and IP you noted earlier in #13 above in relevant fields and apply changes. You can specify an IP different from the above step if you wish but the MAC address must match.

2. Access your internet router's web interface and look for UPnP setup.
If your router supports Access Control List for UPNP access (ACL) make the following entry: allow 16126-16197 192.168.1.1/24 16126-16297

3. On your router go to your Firewall and create NAT Port Forward for your node(s).
Create NAT for port 16126 and name it Fluxnode1. Create another forward for port 16127 and name it Fluxnode1 Monitor.

4. Go to your HP Flux node and at the prompt type:  sudo reboot and hit Enter


5. Download MTPuTTY on your PC and install it

6. Once installed, in MTPuTTY go to Server > Add Server and fill in the details for:

Server name: 192.168.1.183 (input your own node reserved IP here)
Protocol: SSH
Display name: fluxnode1 (something descriptive s we'll use server name we specified in Ubuntu)
User name: fluxuser (Optional, to avoid typing user name each time)
Password: leave blank (You can specify password here but probably shouldn't for added security)
Click OK


7. Double-click the server you just created in MTPutty and click Accept when prompted with PuTTY Security Alert. Type in password and hit Enter to log in


8. At the prompt type: passwd and follow the prompts to change your simple password to something secure using a mix of upper and lower case characters as well as special characters.


9. At the prompt type the following commands, one at a time, hit Enter, and wait for them to run until you get prompted again (you may be asked for your password the first time):
sudo apt update
sudo apt upgrade -y
sudo apt-get install npm -y
sudo reboot

10. Wait for 30 seconds or so and reconnect to your node

This concludes FluxNode Networking, Router, and Firewall Setup.
We now move on to Step 6 of Installing FluxOS

Previous Step


Comments

Popular posts from this blog

Installing FluxOS

Flux CUMULUS Node Under $100!