UnamSanctam / SilentXMRMiner

A Silent (Hidden) Monero (XMR) Miner Builder
MIT License
566 stars 162 forks source link

XMRig Proxy #228

Closed PXCorp closed 3 years ago

PXCorp commented 3 years ago

Can you recommend me any FULL guide about XMRig-proxy(VDS server + host)? Bc nonopool supports only 100 workers but i have 900+ donwloads(((

UnamSanctam commented 3 years ago

Well if you don't need to know how many miners you have you can just mine to nanopool with a single worker name directly but if you really need to then setting up xmrig-proxy shouldn't really require much of a guide. Just download xmrig-proxy and edit the "bind" and "pools" section in the config and port forward the port in the "bind" section and you're pretty much done. I'm not aware of any full guides for xmrig-proxy.

PXCorp commented 3 years ago

So i need a proxy htpps/socks5? And what i need to put in miners' pool?

UnamSanctam commented 3 years ago

Well, if you're planning to use some sort of external proxy then that proxy would have to allow port forwarding. The xmrig-proxy is run on a machine and then connected to by using the IP and port of the machine or a proxy/VPN on the machine if they allow port forwarding.

For the pool just enter the normal pool settings, here is an example config of my xmrig-proxy (uses port 3333 for SSL/TLS and 4444 for normal stratum):

{
    "access-log-file": null,
    "access-password": null,
    "algo-ext": true,
    "api": {
        "id": null,
        "worker-id": null
    },
    "http": {
        "enabled": false,
        "host": "127.0.0.1",
        "port": 0,
        "access-token": null,
        "restricted": true
    },
    "background": false,
    "bind": [
        {
            "host": "0.0.0.0",
            "port": 3333,
            "tls": true
        },
        {
            "host": "::",
            "port": 3333,
            "tls": true
        },
        {
            "host": "0.0.0.0",
            "port": 4444,
            "tls": false
        },
        {
            "host": "::",
            "port": 4444,
            "tls": false
        }
    ],
    "colors": true,
    "title": true,
    "custom-diff": 0,
    "custom-diff-stats": false,
    "donate-level": 0,
    "log-file": null,
    "mode": "nicehash",
    "pools": [
        {
            "algo": "rx/0",
            "coin": null,
            "url": "pool.hashvault.pro:8888",
            "user": "WALLET",
            "pass": "WorkerName",
            "rig-id": null,
            "keepalive": true,
            "enabled": true,
            "tls": true,
            "daemon": false
        },
        {
            "algo": null,
            "coin": "monero",
            "url": "xmr-eu2.nanopool.org:14433",
            "user": "WALLET",
            "pass": "x",
            "rig-id": null,
            "keepalive": true,
            "enabled": true,
            "tls": true,
            "tls-fingerprint": null,
            "daemon": false
        }
    ],
    "retries": 2,
    "retry-pause": 1,
    "reuse-timeout": 0,
    "tls": {
        "enabled": true,
        "protocols": null,
        "cert": null,
        "cert_key": null,
        "ciphers": null,
        "ciphersuites": null,
        "dhparam": null
    },
    "user-agent": null,
    "syslog": false,
    "verbose": true,
    "watch": true,
    "workers": true
}
PXCorp commented 3 years ago

test what i need to put in first line?

UnamSanctam commented 3 years ago

The IP and port of the xmrig-proxy machine or the proxy/VPN it's connected with, 123.123.123.123:3333 or whatever it would be. Could also use a domain or No-IP or something incase the IP is dynamic.