nixos/sing-box: migration of deprecated fields
This commit is contained in:
parent
f84cb59662
commit
edd07654e4
@ -44,13 +44,15 @@ import ./make-test-python.nix (
|
|||||||
type = "tun";
|
type = "tun";
|
||||||
tag = "inbound:tun";
|
tag = "inbound:tun";
|
||||||
interface_name = "tun0";
|
interface_name = "tun0";
|
||||||
inet4_address = "172.16.0.1/30";
|
address = [
|
||||||
inet6_address = "fd00::1/126";
|
"172.16.0.1/30"
|
||||||
|
"fd00::1/126"
|
||||||
|
];
|
||||||
auto_route = true;
|
auto_route = true;
|
||||||
inet4_route_address = [
|
route_address = [
|
||||||
"${hosts."${target_host}"}/32"
|
"${hosts."${target_host}"}/32"
|
||||||
];
|
];
|
||||||
inet4_route_exclude_address = [
|
route_exclude_address = [
|
||||||
"${hosts."${server_host}"}/32"
|
"${hosts."${server_host}"}/32"
|
||||||
];
|
];
|
||||||
strict_route = false;
|
strict_route = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user