LoginSignup
1
2

More than 3 years have passed since last update.

Hass.io(HomeAssistant)ローカル環境の公開

Last updated at Posted at 2019-06-18

トンネリングサービスを使ってローカル環境を外部公開する

ngrok

$ wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip
$ unzip ngrok-stable-linux-arm.zip
$ ngrok authtoken «Tunnel Authtoken»
Authtoken saved to configuration file: ~/.ngrok2/ngrok.yml
$ ngrok http 8123                                                                          ...
Forwarding                    http://aaaaaa.ngrok.io -> http://localhost:8123
Forwarding                    https://aaaaaa.ngrok.io -> http://localhost:8123
...

https://aaaaaa.ngrok.ioへ接続

serveo

$ ssh -R aaaaaa:80:localhost:8123 serveo.net

https://aaaaaa.serveo.netへ接続

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2