mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-21 15:05:15 +00:00
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.
This commit is contained in:
parent
4987aa536d
commit
2edb879845
@ -3,6 +3,8 @@ Description=Iodine socket
|
|||||||
|
|
||||||
[Socket]
|
[Socket]
|
||||||
ListenDatagram=53
|
ListenDatagram=53
|
||||||
|
ListenDatagram=0.0.0.0:53
|
||||||
|
BindIPv6Only=ipv6-only
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=sockets.target
|
WantedBy=sockets.target
|
||||||
|
Loading…
Reference in New Issue
Block a user