IPv4 & IPv6

There should be a IPv4 and IPv6 support, have not been able to test
IPv6 yet.