Created
January 31, 2021 23:43
-
-
Save OnkelDom/bb446071d151cbb6bcdf62c8eff2617b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment