shadowsocks service: support dual-stack server
Enable IPv6 by default.
This commit is contained in:
parent
388e154b24
commit
79ebe562fb
@ -35,10 +35,10 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
localAddress = mkOption {
|
localAddress = mkOption {
|
||||||
type = types.str;
|
type = types.coercedTo types.str singleton (types.listOf types.str);
|
||||||
default = "0.0.0.0";
|
default = [ "[::0]" "0.0.0.0" ];
|
||||||
description = ''
|
description = ''
|
||||||
Local address to which the server binds.
|
Local addresses to which the server binds.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user