Skip to content

IP whitelist #239

Closed Answered by t0bst4r
nehasjains asked this question in Q&A
Discussion options

You must be logged in to vote

You cannot configure it using the UI.

If you are using the native HA Addon, IPs are already blocked - only ingress is allowed. So nothing to do here.

If you are using the docker image, you can configure it using an env variable HAMH_HTTP_IP_WHITELIST or with the config file if you use it.
IMPORTANT: the env variable does only support a single entry, but you can use an ip range / cidr, too (e.g. 192.168.178.0/24 for all addresses between 192.168.178.0 and 192.168.178.255 - see this page for more info).

if you are using some custom deployment via npm you can (in addition to env and config file) also use the command line argument --http-ip-whitelist, and you can specify it multiple times.

Se…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by t0bst4r
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants