NetScr1be / Helium.Miner

Testnet Helium Miner on Digital Ocean
0 stars 0 forks source link

Running Miner #3

Open NetScr1be opened 3 years ago

NetScr1be commented 3 years ago

As Per: https://docs.helium.com/mine-hnt/build-a-packet-forwarder/#run-the-miner

Port Forwarding Before launching the Miner, you will want to configure ports on your network to forward two ports:

44158/TCP: the Miner communicates to other Miners over this port. The networking logic knows how to get around a lack of forwarding here, but you will get better performance by forwarding the port

1680/UDP: the radio connects to the Miner over this port. You will not be able to forward packets or participate in Proof of Coverage without this

Reference: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu-20-04

sudo ufw status

Status: active

To Action From
22/tcp ALLOW Anywhere
22/tcp (v6) ALLOW Anywhere (v6)

sudo ufw allow out on 44158 proto tcp

Rule added Rule added (v6)

sudo ufw allow in on 44158 proto tcp

Rule added Rule added (v6)

` sudo ufw allow in on 1680 proto udp'

Rule added Rule added (v6)

sudo ufw allow out on 1680 proto udp

Rule added Rule added (v6)

sudo ufw status

Status: active

To Action From
22/tcp ALLOW Anywhere
Anywhere/tcp on 44158 ALLOW Anywhere/tcp
22/tcp (v6) ALLOW Anywhere (v6)
Anywhere/tcp (v6) on 44158 ALLOW Anywhere/tcp (v6)
Anywhere/tcp ALLOW OUT Anywhere/tcp on 44158
Anywhere/tcp (v6) ALLOW OUT Anywhere/tcp (v6) on 44158
Anywhere/udp on 1680 ALLOW Anywhere/udp
Anywhere/udp (v6) on 1680 ALLOW Anywhere/udp (v6)
Anywhere/udp ALLOW OUT Anywhere/udp on 1680
Anywhere/udp (v6) ALLOW OUT Anywhere/udp (v6) on 1680