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.

74 lines
1.5 KiB

  1. {
  2. "comment": "Sample full NAT64 configuration.",
  3. "instance": "instance name",
  4. "framework": "netfilter",
  5. "global": {
  6. "pool6": "64:ff9b::/96",
  7. "manually-enabled": false,
  8. "zeroize-traffic-class": true,
  9. "override-tos": false,
  10. "tos": 254,
  11. "mtu-plateaus": [1, 2, 3, 4, 5, 6],
  12. "maximum-simultaneous-opens": 16,
  13. "source-icmpv6-errors-better": true,
  14. "handle-rst-during-fin-rcv": true,
  15. "f-args": 10,
  16. "logging-bib": true,
  17. "logging-session": true,
  18. "address-dependent-filtering": true,
  19. "drop-icmpv6-info": true,
  20. "drop-externally-initiated-tcp": true,
  21. "udp-timeout": "1:00:00",
  22. "tcp-est-timeout": "10:00:00",
  23. "tcp-trans-timeout": "5:00",
  24. "icmp-timeout": "5:30",
  25. "ss-enabled": true,
  26. "ss-flush-asap": false,
  27. "ss-flush-deadline": 1000,
  28. "ss-capacity": 256,
  29. "ss-max-payload": 600
  30. },
  31. "pool4": [
  32. {
  33. "mark": 1,
  34. "protocol": "UDP",
  35. "prefix": "192.0.2.1",
  36. "port range": "61001-62000",
  37. "max-iterations": 1500
  38. }, {
  39. "comment": "mark, port range and max-iterations are optional.",
  40. "protocol": "TCP",
  41. "prefix": "192.0.2.2/31"
  42. }, {
  43. "mark": 1,
  44. "protocol": "ICMP",
  45. "prefix": "192.0.2.1/32",
  46. "port range": "1000-2000"
  47. }
  48. ],
  49. "bib": [
  50. {
  51. "protocol": "TCP",
  52. "ipv6 address": "2001:db8::1#80",
  53. "ipv4 address": "192.0.2.2#80"
  54. }, {
  55. "protocol": "UDP",
  56. "ipv6 address": "2001:db8::2#10000",
  57. "ipv4 address": "192.0.2.1#61500"
  58. }, {
  59. "protocol": "ICMP",
  60. "ipv6 address": "2001:db8:AAAA::1#44",
  61. "ipv4 address": "192.0.2.1#1044"
  62. }
  63. ]
  64. }