I had issues with the pool switching and I have replaced the root and dashboard password, I ONLY have port 83333 forwarded but after I made the miner_config file READ ONLY I have no more issues, still I think the issue is not outside the network but inside the futurebit os or Ubuntu. I will be happy to send you logs to see if you can find anything suspicious but I will need instructions on how to do it. So to be clear, I REPEAT, the only forwarded port is 83333 and I have replaced the root password after I have noticed the issues with the pool which started after i turned the miner on after it fully synced the bitcoin node. The password change did not stop the pool switching, the only thing it stopped it was making that config file read only so there is something in the software that tries to change the pool. Now the fact that it happened on 2 Apollo units, mine is a week old, i think it cannot be a coincidence....I would like the manufacturer to look more into this please....
To pinpoint the problem, do the following:
- make sure no other network component is compromised (if in doubt, turn off all other equipment)
- reflash the Apollo OS with a brand new SD card (don't use the current one)
- remove the SSD (which holds the blockchain) from the machine (to make sure no bogus app has been installed on the NVME drive)
- disable port forwarding 8333 on your router (and any other forward if such one exist)
1) Turn on the Apollo and make sure the mining process is disabled - enter your pool credentials.
2) Next, connect to the Apollo via SSH (from a trusted source), or if you have a monitor/keyboard attached, open a terminal session.
3) To see if something is happening to the miner config file, enter the following command:
watch cat /opt/apolloapi/backend/apollo-miner/miner_config
(you should see your correct pool URL with your credentials)
The 'watch' command updates the file contents every 2 seconds. If the config file is altered, you'll see it.
4) Now turn on the miner process from within the dashboard. (Have a look at the 'watch' output - is there a credential change?)
If NO, let the machine run for a few hours to make sure the miner behaves as normal.
Next, turn off the miner process and the Apollo and reinstall the NVME disk. Repeat step 1) and following.
If there is no change in the miner_config, that's good.
Now enable port forwarding 8333 to your Apollo. Repeat step 1 ...
If, at some point, your credentials are being changed, report back when this was gonna happen.
Good luck.