mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-23 13:53:32 +02: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
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@ Description=Iodine socket
|
|||
|
||||
[Socket]
|
||||
ListenDatagram=53
|
||||
ListenDatagram=0.0.0.0:53
|
||||
BindIPv6Only=ipv6-only
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
|
|
Loading…
Reference in a new issue