Tag: masternode

Chaincoin Masternode V.0.9.3.0 Auto Update!

This is a auto update for anyone who followed my original Linode Chaincoin Masternode guide, simply copy & paste the below code in SSH anywhere:
chaincoind stop;cd /usr/local/bin;rm chaincoind -rf; rm chaincoin-cli -rf;wget http://highoncoins.com/chaincoin/centos7/chaincoin-cli; wget http://highoncoins.com/chaincoin/centos7/chaincoind;chmod 700 chaincoin*;cd ~;yum install -y libevent libevent-devel;chaincoind --daemon;sleep 300s;chaincoind masternode start;chaincoind getinfo;

Once that’s done you should see:

“version” : 90300

Chaincoin Masternode Restart Script/POS Error Auto Fix!

For those of you having trouble with your Chaincoin Masternode not receiving Chaincoins or maybe seeing POS Error, here’s a simple script I wrote that will auto restart if Chaincoind goes down, server restarts, or has POS errors.

This script is ONLY for those who followed my original guide!  (You may be able to tweak it a bit for other VPS/platforms – UPDATE, works fine on Ubuntu with Vultr or Linode)

Copy and past the following into your SSH:

yum -y install cronie;wget http://highoncoins.com/check.sh -O ~/check.sh;chmod 755 ~/check.sh;wget http://highoncoins.com/cronchc -O /etc/cron.d/cronchc;

That’s IT!

For Ubuntu, do:

wget http://highoncoins.com/check.sh -O ~/check.sh;chmod 755 ~/check.sh;wget http://highoncoins.com/cronchc -O /etc/cron.d/cronchc;

Masternode Hall of Fame!

This page is dedicated to prove that ChainCoin HODLers are running their masternodes and have never dumped their coins.   If you want to be listed on this page, please send your masternode addresses to zedomax [at] gmail.com thanks!

Max Lee’s 28 Masternodes
Masternode 1 http://104.238.153.140:3001/address/CdTN9gjYYbdZSzUsiEioCpEUmzCXTTV7K3
Masternode 2 http://104.238.153.140:3001/address/CHVXTTUkRnfqezHbFSBXkzw5fgyQzM6ep9
Masternode 3 http://104.238.153.140:3001/address/CcsNdVRfm3MJLfGpFZWbp7CcMfh3uGo8Fk
Masternode 4 http://104.238.153.140:3001/address/CdY8ykVkkKBqCUgTvA3b5G7KrKRnPhUTs4
Masternode 5 http://104.238.153.140:3001/address/CRJv7n38V7LvkS9xM24fSTU4o1s6QsBEtM
Masternode 6 http://104.238.153.140:3001/address/CVJoidrYs2bjxC2W4FwDPM6DoHcQAqLVjY
Masternode 7 http://104.238.153.140:3001/address/CJpjvqFb2CmQq8WnyNccfMa69LPLKmmYx6
Masternode 8 http://104.238.153.140:3001/address/CJU4rnMsCEUtGxoPnrD5rLirq3ozCcx9S8
Masternode 9 http://104.238.153.140:3001/address/CJNedpMeRUPkNN4ajJrpDcYLwh7PZXRA2n
Masternode 10 http://104.238.153.140:3001/address/CSqTZWfZUmzjBPs3TNe1own5GjYjf3aZS7
Masternode 11 http://104.238.153.140:3001/address/CHt4JRZ92BiexaCzc5tyMgRjJtvtBDRRvP
Masternode 12 http://104.238.153.140:3001/address/CTyVmJhqZoUSUzkPzpSsGuQtGJj8xE5oxu
Masternode 13 http://104.238.153.140:3001/address/Cao7x5Cn4Md957J1u7mDuKWTgGHanhn638
Masternode 14 http://104.238.153.140:3001/address/CLxJJz2kgkbCCuqEdabD9bJ4Bu1L96eJ8j
Masternode 15 http://104.238.153.140:3001/address/CQtf97ak3kKk5QWApr5n7bB5jU6MFhrXZF
Masternode 16 http://104.238.153.140:3001/address/CVQU8zVQBLd62HkZcYcuui75ngKtuS6v8X
Masternode 17 http://104.238.153.140:3001/address/CTgJesbL97x7vkZ73WRfAWDyhWtTHNhZDg
Masternode 18 http://104.238.153.140:3001/address/CHHZY1R3M48F8bQzb8oRp3w4oDpYTDX1qQ
Masternode 19 http://104.238.153.140:3001/address/CN9r3qXz9ABiy1cMMM4J7DYjZ9QwFs6Rzn
Masternode 20 http://104.238.153.140:3001/address/CSjcugPmo3d4kmpETavkU8BwvGTDfiiofu
Masternode 21 http://104.238.153.140:3001/address/CHMRvHXmtFpP8WrrNypoAVoWE6p8FtPtrp
Masternode 22 http://104.238.153.140:3001/address/CZy6y26KftGrjpZSwwKGrB7oNdfo1SWtaq
Masternode 23 http://104.238.153.140:3001/address/CTUFmwmPfaAjUGxyqpH6QQhVp3CZfK5RW4
Masternode 24 http://104.238.153.140:3001/address/CbQ5JbQoDjWHa1KQGrvzfHE1L3PB5v74TS
Masternode 25 http://104.238.153.140:3001/address/Ca6QkybhU1e3hipgifG7BBmj28Qq7ZzpBf
Masternode 26 http://104.238.153.140:3001/address/CLMckJELMKaDDj9TJZCf8MaNe3gTVVQxRW
Masternode 27 http://104.238.153.140:3001/address/CYhTwnzHQMFPXwRtLJFJxVxnUCvHNjWSXg
Masternode 28 http://104.238.153.140:3001/address/CREgdRuKbAGBtZCAqvqRQSgwJG2wwFbNDu

How to Secure Your Masternode!

First, choose any other port than 22, this will prevent hacking bots, which continually attack port 22 but you can choose any port you want, any number between 0 to 65535.  So, choose a number between 0 and 65535, for this example, I am going to use port 99.

First, type the following and add port  tcp to your firewall:

system-config-firewall-tui

Next, edit the ssh config file by typing:

vi /etc/ssh/sshd_config

Change the following line:

# Port 22
to:
Port 99

Next type:

service sshd restart

to restart SSH.  Next time you login, make sure to CHANGE PORT from 22 to the port you changed it to!

Next, MAKE SURE YOU HAVE A SECURE PASSWORD, if you do not, you can easily change your password by typing:
passwd

Try using a site like passwordsgenerator.net.

Next, let’s put a brute force script to ban anyone trying to brute force attack your password, it will ban any IPs for 10 hours if they enter the wrong password 3 times in a row:

yum -y install epel-release;yum -y install fail2ban;systemctl enable fail2ban;cd /etc/fail2ban/;wget http://highoncoins.com/jail.local;systemctl restart fail2ban

After that type:
fail2ban-client status

The current values will ban any brute force attacks but if you want to change the parameters, you can change it here:
/etc/fail2ban/jail.local
You can use Nano or Vi to edit the file.

Now, this tutorial has been made for noobs and beginners. If you are an expert, I do recommend using SSH keys which are more secure but with strong password and brute force script, you should be fine.

More info on Fail2ban here.

Above is for CentOS6, for CentOS7, see:

yum -y install epel-release;yum -y install fail2ban;chkconfig fail2ban on;cd /etc/fail2ban/;wget http://highoncoins.com/jail.local;service fail2ban start