Remote access without ports

Hello everybody.
I am working in yaml mode and at home I work by ssh.
The problem I have is that I cannot do nat from my router. It could only access through port 80 I think.

Is there a way to access the files to be modified remotely?

I access remotely with home nabu.

Thank you

You could install the VSC or File editor addon - assuming you are using Supervised install

Thanks for the help. I have the system installed on a raspberry. It is a virtual environment. It is not installed with hassio that is why the file editor does not appear. The problem is that I don’t have the rapsbian desktop installed either. Sorry for the translation. Hope it’s understandable

Sorry, no idea how to do it with that setup

Thank you very much for answering.

You should be able to use vi or nano.

I suppose you mean port forwarding or… ?
NAT is for internal to external, not the other way around.

You’d better be sure, but that’d be surprising. Generally, ISP specifically close those 80/443/25 ports for security reasons, but allow the other ones.

I suppose you mean port forwarding or… ?
NAT is for internal to external, not the other way around.

Yes.
When one does not know English it is very difficult to explain.

So I don’t think you can. Thank you

Sorry, I don’t understand what you actually need.

Por tu nombre asumo que tal véz hablás español? Explica la situacion bien detallada en ese idioma y tal vez te pueda ayudar o traducir para que algun otro pueda intervenir.

Saludos/cheers!

Joaquin

Thanks. I have the system in yaml mode. Now I can no longer edit the files from Home assistant. The problem is that I have no way to get in from the outside because the modem doesn’t have that option. The only thing left is to put a router afterwards. So I wanted to know if there is any integration that allows me to modify remotely. Or some way that I do not know.
Thanks

English on the main forum please. Take it to direct messaging if you wish to converse in another language.

Sorry @tom_l, just earned my "Read the Guidelines’ badge looking for the language restriction of the forum, found it it the FAQ.

I will translate what he is saying, he tried in English but was not clear. I’ll try to translate his message:

Haha, thanks. I have the system in YAML mode. Now I can’t edit files from Home Assistant. The problem is that I don’t have a way to login login/use it/enter from outside because the modem doesn’t have that option. My only option is to setup a router later. That’s why I wanted to now if there’s some kind of integration that allows me to edit remotely. Or some other way I don’t now.
Thanks.

Sorry, it’s not even clear in Spanish either.

I don’t know what you mean that the system is in YAML mode, you mean you can’t access the home assistant website?

I’m pretty sure that if you can’t forward ports in your router, there’s now way you can directly access the network from outside.

You could remotely access a computer already inside your network running anydesk, teamviewer, google remote desktop, they don’t usually rely on port forwarding, and from there ssh to your HA host.

You said you can access your server from nabu casa, if you are getting to the UI, you could install Terminal and SSH add-on, it allows you to open a terminal on the web browser, or install File Editor add-on, which allows you to edit files. (But I think you said you can’t access)

Nabu Casa does not require port forwarding. Neither does setting up a VPN or ZeroTier.

Another option might be to use AnyDesk (free for personal use) to RDP to a PC on the local network and configure from there. It’s pretty seamless, very easy to set up and has mobile clients for iOS and Android. This is my backup access.

OP wants to ssh to his HA box from outside, if I got it right.
I don’t think NabuCasa will enable this, does it?

Re RDP, that supposes having a windows PC on at all time, but that could work, indeed.

1 Like

Would recommend a setup of ZeroTier nodes both on the raspberry at home and on the remote box where you want to ssh into raspberry.

No port required and you don’t need to touch router. It would be as if both machine being in the same ZeroTier LAN.

Tailscale is similar (I think) and uses the standard Wireguard.
That’s what I use for P2P VPN.

I’m sorry I already translated it

okay. Thank you very much to all. I’m going to read and if I can’t do it I ask you again…

you could install Terminal and SSH add-on

@jcasarini I don’t have those complements because I didn’t install hassio. Install raspbian and in python install home assistant.

OP wants to ssh to his HA box from outside, if I got it right.
I don’t think NabuCasa will enable this, does it?

@koying It does not allow it

Locally access by ssh but since I cannot modify the modem router that the isp gives me, I do not have how to access the yaml files

Do you have a PC that is always on within your local network?

Yes i have