kjell5317 / addon-ngrok

Free ngrok tunnel to your Home Assistant instance with automatically updating freenom domain.
MIT License
1 stars 3 forks source link
docker freenom-dns-updater home-assistant homeassistant-addons ngrok

There is a new addon which has similar features but uses cloudflared so the domains are automaticly updated without cloaking which is a lot more comfortable. Pleas use cloudflared instead of this addon.

Ngrok & Freenom

This addon creates a Ngrok tunnel to your Home Assistant instance and forwards your Freenom domain to the tunnel endpoint so you don't have to worry about changing tunnel domains.

Configuration

  1. Create a free account at ngrok and enter your authentication token to the add-on config.

  2. Register a free domain at freenom and enter your username, password and domain name to the add-on config.

  3. Lastly you can change the address of your Home Assistant instance if needed.

  4. Ensure you have the following in your config.yaml:

    http:
    ip_ban_enabled: true
    login_attempts_threshold: 5
    use_x_forwarded_for: true
    trusted_proxies:
    - 127.0.0.1
    - ::1
    - 172.16.0.0/12

You're ready to go!