You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
1.8 KiB

  1. {
  2. "comment": {
  3. "description": "Sample full NAT64 configuration.",
  4. "notes": [
  5. "192.0.2/24 and 2001:db8::/32 are documentation blocks",
  6. "(RFC 5737 and RFC 3849), and you WILL need to change or",
  7. "remove them for your setup."
  8. ],
  9. "last update": "2022-02-09"
  10. },
  11. "instance": "sample-nat64",
  12. "framework": "netfilter",
  13. "global": {
  14. "manually-enabled": true,
  15. "pool6": "64:ff9b::/96",
  16. "lowest-ipv6-mtu": 1280,
  17. "logging-debug": false,
  18. "zeroize-traffic-class": false,
  19. "override-tos": false,
  20. "tos": 0,
  21. "mtu-plateaus": [
  22. 65535, 32000, 17914, 8166,
  23. 4352, 2002, 1492, 1006,
  24. 508, 296, 68
  25. ],
  26. "address-dependent-filtering": false,
  27. "drop-externally-initiated-tcp": false,
  28. "drop-icmpv6-info": false,
  29. "source-icmpv6-errors-better": true,
  30. "f-args": 11,
  31. "handle-rst-during-fin-rcv": false,
  32. "tcp-est-timeout": "2:00:00",
  33. "tcp-trans-timeout": "0:04:00",
  34. "udp-timeout": "0:05:00",
  35. "icmp-timeout": "0:01:00",
  36. "logging-bib": false,
  37. "logging-session": false,
  38. "maximum-simultaneous-opens": 10,
  39. "ss-enabled": false,
  40. "ss-flush-asap": true,
  41. "ss-flush-deadline": 2000,
  42. "ss-capacity": 512,
  43. "ss-max-payload": 1452
  44. },
  45. "pool4": [
  46. {
  47. "comment": "mark, port range and max-iterations are optional.",
  48. "protocol": "TCP",
  49. "prefix": "192.0.2.1/32"
  50. }, {
  51. "mark": 0,
  52. "protocol": "UDP",
  53. "prefix": "192.0.2.1/32",
  54. "port range": "61001-62000",
  55. "max-iterations": 1500
  56. }, {
  57. "mark": 0,
  58. "protocol": "ICMP",
  59. "prefix": "192.0.2.1/32",
  60. "port range": "1000-2000"
  61. }
  62. ],
  63. "bib": [
  64. {
  65. "protocol": "TCP",
  66. "ipv6 address": "2001:db8::1#80",
  67. "ipv4 address": "192.0.2.1#80"
  68. }, {
  69. "protocol": "UDP",
  70. "ipv6 address": "2001:db8::2#10000",
  71. "ipv4 address": "192.0.2.1#61500"
  72. }, {
  73. "protocol": "ICMP",
  74. "ipv6 address": "2001:db8:AAAA::1#44",
  75. "ipv4 address": "192.0.2.1#1044"
  76. }
  77. ]
  78. }