Hexa's Blog

Setup Monero P2Pool

15/09/2024 Cryptocurrency Node

I. Go to https://github.com/SChernykh/p2pool, download & extract to /opt/

$ tree /opt/p2pool-v4.1-linux-x64

/opt/p2pool-v4.1-linux-x64
├── LICENSE
├── p2pool
├── p2pool.cache
├── p2pool_peers.txt
└── README.md

II. Create and edit /etc/systemd/system/p2pool.service

[Unit]
Description=Monero P2Pool
After=network.target

[Service]
WorkingDirectory=/opt/p2pool-v4.1-linux-x64
ExecStart=/opt/p2pool-v4.1-linux-x64/p2pool --host 127.0.0.1 --wallet YOUR_MAIN_WALLET_HERE
User=nguyenvinhlinh
RemainAfterExit=yes
Restart=on-failure
RestartSec=10
TimeoutStopSec=180

[Install]
WantedBy=multi-user.target

III. Port list

Description Port Port forwarding
P2Pool p2p 37889 YES
Stratum server 3333 YES