Giter Site home page Giter Site logo

Comments (15)

supermar1010 avatar supermar1010 commented on May 26, 2024 1

I'm a bit confused now. Mine work fine, but I'm using a completely different url :D
56080:localhost:8123, where 56080 is the port homeassisatnt should be exposed on my remote server.

from home-assistant-addons.

hnykda avatar hnykda commented on May 26, 2024 1

Sounds like a good idea. I started with #16 for the first part, but it's just a stub.

from home-assistant-addons.

ThomDietrich avatar ThomDietrich commented on May 26, 2024

Hey!
I saw this change but I don't think / didn't believe it's related to the forwarding addon. Can you confirm that your setup broke with 9.5? Mine didn't...

from home-assistant-addons.

dilorenzo1987 avatar dilorenzo1987 commented on May 26, 2024

Strange, it broke for me, my new config looks now like that:
remote_forwarding:

  • 127.0.0.1:8123:172.30.232.1:8123

from home-assistant-addons.

hnykda avatar hnykda commented on May 26, 2024

Hey. It broke it for me as well :-/ . The line from you @dilorenzo1987 doesn't seem to work.

from home-assistant-addons.

hnykda avatar hnykda commented on May 26, 2024

Ha, 172.17.232.1 (the older one from https://github.com/home-assistant/operating-system/pull/2259/files#diff-eb737cfe0628960e2fa0312e80496db0bee4f2df3ab26b949aebd0dcced2467aL11) works! I guess I need to adjust it afterwards again.

from home-assistant-addons.

hnykda avatar hnykda commented on May 26, 2024

....aaaaand after Homeassitant OS update to v10, I had to go to the 172.30.232.1 "again" 😁 ...

from home-assistant-addons.

ThomDietrich avatar ThomDietrich commented on May 26, 2024

TODO

As I am just dealing with this issue again, I realized it would be good for general reliability, if the script had one step in which it checks (e.g. via curl), whether the configured 172.30.232.1:8123 is reachable.

While at it, I would also separate the two "ip:port" combinations out into seperate input fields, for usability, especially in the UI config mode. The current support for a list of forwarding ports is imho not needed. If someone needs more, they can always add stuff in other_ssh_options.

Any further thoughts? If anyone wants to contribute a PR, I would definitely appreciate that!

Btw: For me both 172.30.32.1 and 172.30.232.1 work :D

from home-assistant-addons.

cnieves1 avatar cnieves1 commented on May 26, 2024

Hi!
I tried several IPs and none of them seem to work...
The ones I tried:

  • 172.30.32.1:8123
  • 172.30.232.1:8123
  • 172.17.32.1:8123
  • 172.17.232.1:8123
  • 172.17.0.1:8123

None of them seem to work...
Do you know how can I see the real IP and port HA is using?

Thanks in advance,

from home-assistant-addons.

hnykda avatar hnykda commented on May 26, 2024

For me, this works. Normal hassos

hostname: ...my-remote-ip...
ssh_port: 22
username: root
remote_forwarding:
  - 127.0.0.1:8124:172.30.232.1:8123
other_ssh_options: ""
force_keygen: false

from home-assistant-addons.

ThomDietrich avatar ThomDietrich commented on May 26, 2024

Hey @cnieves1,
the IP subnet your envirnonment uses is printed on the Log when you start the app. Did you check there?
image

from home-assistant-addons.

cnieves1 avatar cnieves1 commented on May 26, 2024

Thanks a lot @ThomDietrich !

Didn't know that!. I get:

1: lo    inet 127.0.0.1/8 scope host lo\       valid_lft forever preferred_lft forever
1: lo    inet6 ::1/128 scope host \       valid_lft forever preferred_lft forever
4: docker0    inet 172.30.232.1/23 brd 172.30.233.255 scope global docker0\       valid_lft forever preferred_lft forever
4: docker0    inet6 fe80::42:74ff:fed9:f650/64 scope link \       valid_lft forever preferred_lft forever
5: hassio    inet 172.30.32.1/23 brd 172.30.33.255 scope global hassio\       valid_lft forever preferred_lft forever
5: hassio    inet6 fe80::42:5bff:fee5:ceae/64 scope link \       valid_lft forever preferred_lft forever

Does that mean that 172.30.32.1 (hassio) should work?

That's one of the addresses I tried. Maybe it's something related with ports?
I tried 127.0.0.1:8123:172.30.32.1:8123 (and I only changed the second IP address when trying, not the port)
I don't see the ports listed anywhere... is there any way to check which port it's using?

from home-assistant-addons.

Related Issues (13)

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.