UnamSanctam / UnamWebPanel

MIT License
171 stars 59 forks source link

XMRIG PROXY #378

Open svox07 opened 1 month ago

svox07 commented 1 month ago

hi Unam, help Xmrig -Proxy, can you give me the configured config.json, I can’t configure it with errors IMG_20240715_012433_024

UnamSanctam commented 1 month ago

What kind of configuration do you want? But I would probably advice using "nicehash" mode instead of "simple" mode in the xmrig-proxy if you can.

svox07 commented 1 month ago

https://zephyr.miningocean.org

svox07 commented 1 month ago

{ "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": 4444, "tls": true }, { "host": "::", "port": 4444, "tls": true } ], "colors": true, "title": true, "custom-diff": 0, "custom-diff-stats": false, "donate-level": 0, "log-file": null, "mode": "simple", "pools": [ { "algo": "rx/0", "coin": zephyr, "url": "de-zephyr.miningocean.org:5452", "user": "Wallet", "pass": "ZEP", "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": false, "watch": true, "workers": true }

UnamSanctam commented 1 month ago

You need quotes (") around the zephyr string, it's also probably best to use nicehash mode instead of simple mode:

{
    "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": 4444,
            "tls": true
        },
        {
            "host": "::",
            "port": 4444,
            "tls": true
        }
    ],
    "colors": true,
    "title": true,
    "custom-diff": 0,
    "custom-diff-stats": false,
    "donate-level": 0,
    "log-file": null,
    "mode": "nicehash",
    "pools": [
        {
            "algo": "rx/0",
            "coin": "zephyr",
            "url": "de-zephyr.miningocean.org:5452",
            "user": "Wallet",
            "pass": "ZEP",
            "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": false,
    "watch": true,
    "workers": true
}
svox07 commented 1 month ago

if I use nicehash the hash jumps in my pool

UnamSanctam commented 1 month ago

Jumps? But that could be due to the higher difficulty (since there are less pool connections).

svox07 commented 1 month ago

the rest of the settings are correct? And in the build itself I want to put sport.com:4444 and remove the wallet from there and the worker’s name?

UnamSanctam commented 1 month ago

Yes the rest look correct, and yes you can put your xmrig-proxy connection directly in the build without any wallet or worker name (since they aren't needed).

svox07 commented 1 month ago

Is it possible to reduce the complexity of config.json? if so, where should it be changed?

svox07 commented 1 month ago

IMG_20240715_015244_488

UnamSanctam commented 1 month ago

Is it possible to reduce the complexity of config.json? if so, where should it be changed?

You mean the length? In that case you can probably remove most options that you haven't changed, since they most likely have a default value if not present inside the JSON:

{
    "bind": [
        {
            "host": "0.0.0.0",
            "port": 4444,
            "tls": true
        },
        {
            "host": "::",
            "port": 4444,
            "tls": true
        }
    ],
    "donate-level": 0,
    "mode": "nicehash",
    "pools": [
        {
            "algo": "rx/0",
            "coin": "zephyr",
            "url": "de-zephyr.miningocean.org:5452",
            "user": "Wallet",
            "pass": "ZEP",
            "keepalive": true,
            "enabled": true,
            "tls": true
        }
    ]
}

IMG_20240715_015244_488

Yes that's correct.

svox07 commented 1 month ago

Screenshot_20240715-015743 is this correct here?

UnamSanctam commented 1 month ago

Yes SSL is preferred since it will encrypt all the traffic, also enable SSL/TLS in the "Mining" tab of the miner.

svox07 commented 1 month ago

thanks for the help

VK-VZ commented 1 month ago

Sorry, I also have one question. I'm in the link pastbin what settings to set the proxy!

{ "algo": "rx/0", "pool": "87.13.127.36", "port": 4444, "wallet": "", "password": "", "nicehash": true, "ssltls": true, "max-cpu": 30, "idle-wait": 2, "idle-cpu": 80, "stealth": true, "stealth-targets": Taskmgr.exe,SystemInformer.exe,...etc "kill-targets": regedit.exe,SecurityCheck.exe,avz5rn.exe,HitmanPro_x64.exe,HitmanPro.exe,AnVir.exe,AVbr.exe,taskhostw.exe,start.exe,FRST64.exe,...etc

Is that right? Or maybe something needs to be removed?

UnamSanctam commented 1 month ago

Yes that all looks right.