Part 2 - Automatic conversion to full node with incoming connections -
Run a Full Node with port forwarding, and contribute to the Peercoin network
If you want to help the Peercoin network to grow, you can contribute to the distibution of the blockchain by running a full node with incoming connections.
Security wise, it is best to mint on a node without port forwarding, like the installation above. Full nodes with incoming connections (with port forwarding) are generally running with an empty wallet.
Also be aware that the conversion script opens up the firewall for port 9901.
The following functionality is added:
- Opens a browser for you to configure port forwarding on your router
- Makes the peercoin client start automatically
- If your external IP address changes, your peercoin client will be restarted automatically (Credits to ROMERUN)
- Steps to convert -
This part currently only works for the core protocol client, not yet for Peerunity!
If you use Peerunity, perform these manual steps:
- open an lxterminal, and type: sudo ufw allow 9901
- to display the ip address of your raspi, type: sudo ifconfig
- Configure your router to forward TCP port 9901 to the ip address of your raspi
Automated steps for the core protocol client:
Download the following 3 files, and put them all on the pi Desktop:
Desktop 1 preconfigure full node.desktop | mirror 1 dropbox | mirror 2 google
Desktop 2 FULL PPC node.desktop | mirror 1 dropbox | mirror 2 google
desktopgotofullnode.sh | mirror 1 dropbox | mirror 2 google
Next:
Doubleclick the Desktop 1 icon (this makes the script executable)
Doubleclick the Desktop 2 icon (this starts the script)
Follow the instructions on the terminal window that opens.
After rebooting, you can delete the 3 files on your desktop. After a few hours you should have more than 8 connections to your peercoin client.
Rollback to original desktop
An undo script will be generated. To roll back to the original desktop, open a terminal and run:
/home/pi/scripts/undodesktopfullnode.sh
Reboot afterwards.
Note that you will have to deconfigure port forwarding yourself, on your router.