It would be nice if we could get dual stack support so Pimatic listens to both IPv4 and IPv6 addresses. We are running out of public IPv4 addresses so IPv6 support isn’t really optional anymore. This is especially true in the area of IoT where the number of devices and required IP addresses are set to explode.
-
IPv6 support
-
see also pimatic/pimatic#333
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@leader21 From what I understand from this issue, even if IPv6 support is fixed there would still be no dual stack support, right? Or is it possible to supply both a IPv4 and IPv6 address? In the meantime I will look at adding a reverse proxy to add IPv6 support.
-
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@fritzzz As far as I understand this, pimatic should already support dual stack configurations. Node v10 and the current versions of Express & Socket.io can handle it. I think the mentioned issue #333 is outdated. Note beyond, you may need to enable dual stack at the OS-level. For debian/raspbian see https://wiki.debian.org/DebianIPv6
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
I have UM Dual Stack, i use it in combination with www.feste-ip.net and a myfritz account, to connect from outside of my local network.
at home i can use my local ip to connect to pimatic. works very good. -
Someone tried with setting the
hostname
of the server config to::
? -
@sweetpi yes me, it works.
-
@p4co86 Strange, can’t seem to get it to work here. Enabled IPv6, and set hostname to ::
It does serve the page over IPv6 now but it keeps complaining that it can’t make the XHR connection (Could not connect (xhr poll error), retrying…). I’m using the IPv6 address to connect.
IPv4 still works fine. -
You can only connect from an other ipv6 device from outside of our network. If you want use it from ipv4 you need to use a portmapper and you need a fritzbox with myfritz.
I use www.feste-ip.netI can test it from my ipv6 device if you want. Or ask a friend
-
@p4co86 I have got it working now. Turns out it didn’t like it when I connected using the IPv6 address in the browser. Once I added a AAAA entry in my DNS server and used the hostname to connect to the pimatic everything worked fine. FYI, I have a public IPv6 (/48) range so no need to do any portmapping. My intention was to make the pimatic accessible both locally and from the internet over IPv4 and IPv6.
Thanks for your help. -
Ok. But when you are on a pc that anly have ipv4, you can acces your pimatic. Thats not possible. For that you need it. From ipv6 machine to ipv6 pimatic it works. But ipv4 to ipv6 pimatic not. For that you need the portmapper.
-
@p4co86 No, not really. The pimatic is now running in dual stack mode. It’s listening to both a IPv4 and IPv6 address. So a PC on my LAN will typically connect using IPv6 now, and my smartphone will connect using IPv4 (when I turn off WiFi that is).