develsoftware / GMinerRelease

Ethash, ProgPoW, Equihash, CuckooCycle GPU Miner
https://bitcointalk.org/index.php?topic=5034735.0
1.95k stars 332 forks source link

Config IP for parameter --api #443

Open lshaf opened 2 years ago

lshaf commented 2 years ago

Is there any way to do this? I tried api with value 0.0.0.0:port doesn't do anything.

Maybe for now it's just work for 127001?

DeeDeeRanged commented 2 years ago

Just checked it still works for my mining rig from another host. I have the same settings as you --api 0.0.0.0:10050 or whatever port you use. On the local system I use http://localhost:10050 to view in the browser.

lshaf commented 2 years ago

Currently I'm using config file but it doesn't work. Is that different? 🤔

On Fri, Oct 22, 2021, 00:08 DeeDeeRanged @.***> wrote:

Just checked it still works for my mining rig from another host. I have the same settings as you --api 0.0.0.0:10050 or whatever port you use. On the local system I use http://localhost:10050 to view in the browser.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/develsoftware/GMinerRelease/issues/443#issuecomment-948823419, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDL42KTZ57XI77QJNXDHHDUIBCJDANCNFSM5GLODX6Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

DeeDeeRanged commented 2 years ago

This is what I have in my config file: api=10500 and I can access it from another PC with http://ipaddressminingrig:10050/ or on the mining rig http://localhost:10050/

taqyon commented 2 years ago

This is what I have in my config file: api=10500 and I can access it from another PC with http://ipaddressminingrig:10050 or on the mining rig http://localhost:10050

Hi!

I figured out how to set up a connection to the Rig on the Local Network. But how do I set up access "from outside"? For example from a cell phone (mobile operator).

DragonSerW commented 2 years ago

taqyon hello! If you use Keeenetic -- you can configure KeenDNS (http://192.168.1.1/controlPanel/remoteAccess/KeenDNS) in such way: https://i.ibb.co/02hCXw6/Screenshot-2022-01-02-at-21-21-15.png. So, GMiner is acessible both from local network: http://192.168.1.105:10050/ and over the Internets: https://gminer.dragonserw.keenetic.link/.

jedierik20 commented 2 years ago

taqyon, this would be something that is unique and specific to where and how you are networking with your miner. If you are in your home, with home internet, then you need some kind of port forwarding on your home router, and dns entry publically in some zone that would allow you to look it up. You have a few options. 1) setup public dns entry pointing to your home router's public IP address, setup port forwarding on your router to point at your miner --- all of THIS is a bad idea. 2) setup a vpn solution for your home network, then from phone, you vpn in. - this takes some work, and most annoyingly, you have to connect VPN client FIRST to get any info. 3) setup a zero trust solution like https://banyansecurity.io (their free teir would work fine) or other and remotely access your miner's port.

Personally - option 3. Zero trust is lighter than vpn and more convenient in my opinion.