Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi bind host and pools #571

Open
MahdiJamal opened this issue Jun 7, 2024 · 1 comment
Open

Multi bind host and pools #571

MahdiJamal opened this issue Jun 7, 2024 · 1 comment

Comments

@MahdiJamal
Copy link

I want 0.0.0.0:34343 to bind to c3pool.com:34653 and 0.0.0.0:3847 to bind to supportxmr.com:3453

I have already created two folders and placed an xmrig proxy in each folder and created a config for each.

Is there the best way?

I know the code below is wrong ( But it helps you understand what I mean better )

"bind": [
	{
		"host": "0.0.0.0",
		"port": 44444,
		"tls": true,
		"pools": {
			"algo": "rx/0",
			"coin": null,
			"url": "supportxmr.com:3453",
			"user": "346v457sv58brz68bzr6b8szr68z68rbzr68br687zrb8zr68xrb686rm8ct909",
			"pass": "x",
			"rig-id": null,
			"tls": true,
			"keepalive": true,
			"nicehash": false,
			"enabled": true,
			"sni": false,
			"tls-fingerprint": null,
			"daemon": false,
			"socks5": null,
			"self-select": null,
			"submit-to-origin": false
		}
	},
	{
		"host": "0.0.0.0",
		"port": 55555,
		"tls": true,
		"pools": {
			"algo": "rx/0",
			"coin": null,
			"url": "c3pool.com:12431",
			"user": "346v457sv58brz68bzr6b8szr68z68rbzr68br687zrb8zr68xrb686rm8ct909",
			"pass": "x",
			"rig-id": null,
			"tls": true,
			"keepalive": true,
			"nicehash": false,
			"enabled": true,
			"sni": false,
			"tls-fingerprint": null,
			"daemon": false,
			"socks5": null,
			"self-select": null,
			"submit-to-origin": false
		}
	},
]
@SChernykh
Copy link
Contributor

You need a separate config per proxy, with only one pool in each config. Yes, you can run two proxies on one host if you run them from different folders.

@MahdiJamal MahdiJamal reopened this Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants