From 2edb879845b900a04b05ec555bdbde19f81c4a92 Mon Sep 17 00:00:00 2001 From: Aleksei Fedotov Date: Wed, 11 May 2016 00:15:33 +0300 Subject: [PATCH] Listen on two different sockets for ipv6 and ipv4 Option BindIPv6Only is needed to restrict ipv6 to sending IPv6 packets only, without it IPv6 socket can be used to send and receive packet to and from an IPv6 address or an IPv4-mapped IPv6 address. --- doc/iodine-server.socket | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/iodine-server.socket b/doc/iodine-server.socket index d6c57b8..485181f 100644 --- a/doc/iodine-server.socket +++ b/doc/iodine-server.socket @@ -3,6 +3,8 @@ Description=Iodine socket [Socket] ListenDatagram=53 +ListenDatagram=0.0.0.0:53 +BindIPv6Only=ipv6-only [Install] WantedBy=sockets.target