Giter Site home page Giter Site logo

Add remote miner about hass-miner HOT 6 CLOSED

ors86 avatar ors86 commented on June 14, 2024
Add remote miner

from hass-miner.

Comments (6)

UpstreamData avatar UpstreamData commented on June 14, 2024 1

Correct. That's usually what I do, but if you want to have miners show up at subdomains, you have to expose those ports sadly.

from hass-miner.

UpstreamData avatar UpstreamData commented on June 14, 2024 1

The other option is to expose them, then have a firewall that only accepts traffic coming in from some source, say a cloudflare address, which you can make private.

from hass-miner.

UpstreamData avatar UpstreamData commented on June 14, 2024

This is not simple to do. IF you want to do it, what you need to do is route miner port 80 to port 80, 443 to 443, 22 to 22, 4028 to 4028, and 50051 to 50051. Miners expose very specific services on all those endpoints, and without them pyasic will not be able to identify or query them properly.

Specifically:
4028 -> CGMiner standard RPC API
80 -> Web interface
443 -> Secured web interface
22 -> SSH
50051 -> BOS+ gRPC

from hass-miner.

ors86 avatar ors86 commented on June 14, 2024

OK i see. So onother approach, more secure, is to have vpn.

from hass-miner.

ors86 avatar ors86 commented on June 14, 2024

That option with cloudflare sounds good. If you can give more information, how to do it, i would be gratefull.

from hass-miner.

UpstreamData avatar UpstreamData commented on June 14, 2024

I can't for the life of me remember where I saw that, it was something about a home lab server and making secured requests to it, but even if you know the IP of your local connection you can whitelist that.

from hass-miner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.