How to allow ipv6 hosts in HassOS samba-addon

How to allow ipv6 hosts in HassOS’s samba addon? Can’t add ipv6 address to allow_hosts. If I’ll remove all the subnet addresses from allow_hosts, I can connect to samba. Otherwise I will find following line from the logs: Denied connection from my-ipv6-address (my-ipv6-address).

I’d like to configure that connection would be allowed only from certain addresses.

1 Like

Hi pitkae,

have you worked out any solutions to allow only ipv6 Adresses of your local network?

just adding

fc00::/7

to

"allow_hosts": [
      "10.0.0.0/8",
      "172.16.0.0/12",
      "192.168.0.0/16",
      "fc00::/7"
  ]

for Unique Local Unicast did not work out for me.

Best regards

Nicolas

Any update or solution on that?

Update:

  • Is there any possibility to use IPv4 on the Windows 10 device to connect to the WORKGROUP?

  • A solution would be:
    “allow_hosts”: [ ]
    as this allows any IP Address.

My question now: Is this a security issue, if I have no NAT or VPN activated? I trust the local users of my network.