Unifi-ipv6-gateway-json

Aus Windeln Wiki
Zur Navigation springen Zur Suche springen

{

       "firewall": {
               "ipv6-name": {
                       "wan_in-6": {
                               "default-action": "drop",
                               "description": "wan_in",
                               "enable-default-log": "",
                               "rule": {
                                       "1": {
                                               "action": "accept",
                                               "description": "Allow Enabled/Related state",
                                               "state": {
                                                       "established": "enable",
                                                       "related": "enable"
                                               }
                                       },
                                       "2": {
                                               "action": "drop",
                                               "description": "Drop Invalid state",
                                               "log": "enable",
                                               "state": {
                                                       "invalid": "enable"
                                               }
                                       },
                                       "5": {
                                               "action": "accept",
                                               "description": "Allow ICMPv6",
                                               "log": "enable",
                                               "protocol": "icmpv6"
                                       }
                               }
                       },
                       "wan_local-6": {
                               "default-action": "drop",
                               "description": "wan_local",
                               "enable-default-log": "",
                               "rule": {
                                       "1": {
                                               "action": "accept",
                                               "description": "Allow Enabled/Related state",
                                               "state": {
                                                       "established": "enable",
                                                       "related": "enable"
                                               }
                                       },
                                       "2": {
                                               "action": "drop",
                                               "description": "Drop Invalid state",
                                               "log": "enable",
                                               "state": {
                                                       "invalid": "enable"
                                               }
                                       },
                                       "5": {
                                               "action": "accept",
                                               "description": "Allow ICMPv6",
                                               "log": "enable",
                                               "protocol": "icmpv6"
                                       },
                                       "6": {
                                               "action": "accept",
                                               "description": "DHCPv6",
                                               "destination": {
                                                       "port": "546"
                                               },
                                               "protocol": "udp",
                                               "source": {
                                                       "port": "547"
                                               }
                                       }
                               }
                       }
               }
       },
       "interfaces": {
               "ethernet": {
                       "eth0": {
                               "dhcpv6-pd": {
                                       "pd": {
                                               "0": {
                                                       "interface": {
                                                               "eth1": ""
                                                       },
                                                       "prefix-length": "64"
                                               }
                                       },
                                       "rapid-commit": "enable"
                               },
                               "firewall": {
                                       "in": {
                                               "ipv6-name": "wan_in-6"
                                       },
                                       "local": {
                                               "ipv6-name": "wan_local-6"
                                       }
                               }
                       },
                       "eth1": {
                               "ipv6": {
                                       "dup-addr-detect-transmits": "1",
                                       "router-advert": {
                                               "cur-hop-limit": "64",
                                               "link-mtu": "0",
                                               "managed-flag": "true",
                                               "max-interval": "600",
                                               "other-config-flag": "false",
                                               "prefix": {
                                                       "::/64": {
                                                               "autonomous-flag": "true",
                                                               "on-link-flag": "true",
                                                               "valid-lifetime": "2592000"
                                                       }
                                               },
                                               "reachable-time": "0",
                                               "retrans-timer": "0",
                                               "send-advert": "true"
                                       }
                               }
                       }
               }
       }

}