jool: update default config
Update the default configuration files to match the upstream example ones. Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
This commit is contained in:
parent
b8b1305e74
commit
5482b98940
2 changed files with 70 additions and 54 deletions
|
@ -1,55 +1,63 @@
|
||||||
{
|
{
|
||||||
"comment": "Sample full NAT64 configuration.",
|
"comment": {
|
||||||
|
"description": "Sample full NAT64 configuration.",
|
||||||
|
"notes": [
|
||||||
|
"192.0.2/24 and 2001:db8::/32 are documentation blocks",
|
||||||
|
"(RFC 5737 and RFC 3849), and you WILL need to change or",
|
||||||
|
"remove them for your setup."
|
||||||
|
],
|
||||||
|
"last update": "2022-02-09"
|
||||||
|
},
|
||||||
|
|
||||||
"instance": "instance name",
|
"instance": "sample-nat64",
|
||||||
"framework": "netfilter",
|
"framework": "netfilter",
|
||||||
|
|
||||||
"global": {
|
"global": {
|
||||||
|
"manually-enabled": true,
|
||||||
"pool6": "64:ff9b::/96",
|
"pool6": "64:ff9b::/96",
|
||||||
|
"lowest-ipv6-mtu": 1280,
|
||||||
"manually-enabled": false,
|
"logging-debug": false,
|
||||||
|
"zeroize-traffic-class": false,
|
||||||
"zeroize-traffic-class": true,
|
|
||||||
"override-tos": false,
|
"override-tos": false,
|
||||||
"tos": 254,
|
"tos": 0,
|
||||||
"mtu-plateaus": [1, 2, 3, 4, 5, 6],
|
"mtu-plateaus": [
|
||||||
"maximum-simultaneous-opens": 16,
|
65535, 32000, 17914, 8166,
|
||||||
|
4352, 2002, 1492, 1006,
|
||||||
|
508, 296, 68
|
||||||
|
],
|
||||||
|
"address-dependent-filtering": false,
|
||||||
|
"drop-externally-initiated-tcp": false,
|
||||||
|
"drop-icmpv6-info": false,
|
||||||
"source-icmpv6-errors-better": true,
|
"source-icmpv6-errors-better": true,
|
||||||
"handle-rst-during-fin-rcv": true,
|
"f-args": 11,
|
||||||
"f-args": 10,
|
"handle-rst-during-fin-rcv": false,
|
||||||
|
"tcp-est-timeout": "2:00:00",
|
||||||
"logging-bib": true,
|
"tcp-trans-timeout": "0:04:00",
|
||||||
"logging-session": true,
|
"udp-timeout": "0:05:00",
|
||||||
|
"icmp-timeout": "0:01:00",
|
||||||
"address-dependent-filtering": true,
|
"logging-bib": false,
|
||||||
"drop-icmpv6-info": true,
|
"logging-session": false,
|
||||||
"drop-externally-initiated-tcp": true,
|
"maximum-simultaneous-opens": 10,
|
||||||
|
"ss-enabled": false,
|
||||||
"udp-timeout": "1:00:00",
|
"ss-flush-asap": true,
|
||||||
"tcp-est-timeout": "10:00:00",
|
"ss-flush-deadline": 2000,
|
||||||
"tcp-trans-timeout": "5:00",
|
"ss-capacity": 512,
|
||||||
"icmp-timeout": "5:30",
|
"ss-max-payload": 1452
|
||||||
|
|
||||||
"ss-enabled": true,
|
|
||||||
"ss-flush-asap": false,
|
|
||||||
"ss-flush-deadline": 1000,
|
|
||||||
"ss-capacity": 256,
|
|
||||||
"ss-max-payload": 600
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"pool4": [
|
"pool4": [
|
||||||
{
|
{
|
||||||
"mark": 1,
|
"comment": "mark, port range and max-iterations are optional.",
|
||||||
|
"protocol": "TCP",
|
||||||
|
"prefix": "192.0.2.1/32"
|
||||||
|
}, {
|
||||||
|
"mark": 0,
|
||||||
"protocol": "UDP",
|
"protocol": "UDP",
|
||||||
"prefix": "192.0.2.1",
|
"prefix": "192.0.2.1/32",
|
||||||
"port range": "61001-62000",
|
"port range": "61001-62000",
|
||||||
"max-iterations": 1500
|
"max-iterations": 1500
|
||||||
}, {
|
}, {
|
||||||
"comment": "mark, port range and max-iterations are optional.",
|
"mark": 0,
|
||||||
"protocol": "TCP",
|
|
||||||
"prefix": "192.0.2.2/31"
|
|
||||||
}, {
|
|
||||||
"mark": 1,
|
|
||||||
"protocol": "ICMP",
|
"protocol": "ICMP",
|
||||||
"prefix": "192.0.2.1/32",
|
"prefix": "192.0.2.1/32",
|
||||||
"port range": "1000-2000"
|
"port range": "1000-2000"
|
||||||
|
@ -60,7 +68,7 @@
|
||||||
{
|
{
|
||||||
"protocol": "TCP",
|
"protocol": "TCP",
|
||||||
"ipv6 address": "2001:db8::1#80",
|
"ipv6 address": "2001:db8::1#80",
|
||||||
"ipv4 address": "192.0.2.2#80"
|
"ipv4 address": "192.0.2.1#80"
|
||||||
}, {
|
}, {
|
||||||
"protocol": "UDP",
|
"protocol": "UDP",
|
||||||
"ipv6 address": "2001:db8::2#10000",
|
"ipv6 address": "2001:db8::2#10000",
|
||||||
|
|
|
@ -1,32 +1,40 @@
|
||||||
{
|
{
|
||||||
"comment": "Sample full SIIT configuration.",
|
"comment": {
|
||||||
|
"description": "Sample full SIIT configuration.",
|
||||||
|
"notes": [
|
||||||
|
"192.0.2/24, 198.51.100/24 and 2001:db8::/32 are",
|
||||||
|
"documentation blocks (RFC 5737 and RFC 3849), and you",
|
||||||
|
"WILL need to change or remove them for your setup."
|
||||||
|
],
|
||||||
|
"last update": "2022-02-09"
|
||||||
|
},
|
||||||
|
|
||||||
"instance": "instance name",
|
"instance": "sample-siit",
|
||||||
"framework": "netfilter",
|
"framework": "netfilter",
|
||||||
|
|
||||||
"global": {
|
"global": {
|
||||||
"comment": "pool6 and the RFC6791v4 pool belong here, ever since Jool 4.",
|
"manually-enabled": true,
|
||||||
"pool6": "64:ff9b::/96",
|
"pool6": "2001:db8:0::/96",
|
||||||
"manually-enabled": false,
|
"lowest-ipv6-mtu": 1280,
|
||||||
"zeroize-traffic-class": true,
|
"logging-debug": false,
|
||||||
|
"zeroize-traffic-class": false,
|
||||||
"override-tos": false,
|
"override-tos": false,
|
||||||
"tos": 254,
|
"tos": 0,
|
||||||
"mtu-plateaus": [1, 2, 3, 4, 5, 6],
|
"mtu-plateaus": [
|
||||||
"amend-udp-checksum-zero": true,
|
65535, 32000, 17914, 8166,
|
||||||
"eam-hairpin-mode": "simple",
|
4352, 2002, 1492, 1006,
|
||||||
"randomize-rfc6791-addresses": false,
|
508, 296, 68
|
||||||
|
],
|
||||||
|
"amend-udp-checksum-zero": false,
|
||||||
|
"eam-hairpin-mode": "intrinsic",
|
||||||
|
"randomize-rfc6791-addresses": true,
|
||||||
"rfc6791v6-prefix": null,
|
"rfc6791v6-prefix": null,
|
||||||
"rfc6791v4-prefix": null
|
"rfc6791v4-prefix": null
|
||||||
},
|
},
|
||||||
|
|
||||||
"eamt": [
|
"eamt": [
|
||||||
{
|
{
|
||||||
"comment": {
|
"comment": "Comments allowed here too.",
|
||||||
"text": "Here's a compound comment.",
|
|
||||||
"more": "Its type is not checked, after all.",
|
|
||||||
"date": "2019-01-06",
|
|
||||||
"whatever": 1234
|
|
||||||
},
|
|
||||||
"ipv6 prefix": "2001:db8:1::/128",
|
"ipv6 prefix": "2001:db8:1::/128",
|
||||||
"ipv4 prefix": "192.0.2.0"
|
"ipv4 prefix": "192.0.2.0"
|
||||||
}, {
|
}, {
|
||||||
|
|
Loading…
Reference in a new issue