Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "firewall": {
- "ipv6-name": {
- "WANv6_IN": {
- "default-action": "drop",
- "description": "WAN inbound traffic forwarded to LAN",
- "rule": {
- "10": {
- "action": "accept",
- "description": "Allow established/related sessions",
- "state": {
- "established": "enable",
- "related": "enable"
- }
- },
- "20": {
- "action": "drop",
- "description": "Drop invalid state",
- "state": {
- "invalid": "enable"
- }
- }
- }
- },
- "WANv6_LOCAL": {
- "default-action": "drop",
- "description": "WAN inbound traffic to the router",
- "rule": {
- "10": {
- "action": "accept",
- "description": "Allow established/related sessions",
- "state": {
- "established": "enable",
- "related": "enable"
- }
- },
- "20": {
- "action": "drop",
- "description": "Drop invalid state",
- "state": {
- "invalid": "enable"
- }
- },
- "30": {
- "action": "accept",
- "description": "Allow IPv6 icmp",
- "protocol": "ipv6-icmp"
- },
- "40": {
- "action": "accept",
- "description": "allow dhcpv6",
- "destination": {
- "port": "546"
- },
- "protocol": "udp",
- "source": {
- "port": "547"
- }
- }
- }
- }
- },
- "ipv6-receive-redirects": "disable",
- "ipv6-src-route": "disable",
- "ip-src-route": "disable",
- "log-martians": "enable",
- "source-validation": "disable"
- },
- "interfaces": {
- "ethernet": {
- "eth0": {
- "description": "eth0 - LAN",
- "duplex": "auto",
- "speed": "auto",
- "ipv6": {
- "address": {
- "autoconf": "''"
- },
- "dup-addr-detect-transmits": "1",
- "router-advert": {
- "cur-hop-limit": "64",
- "link-mtu": "0",
- "managed-flag": "true",
- "max-interval": "600",
- "name-server": [
- "****::254"
- ],
- "other-config-flag": "true",
- "prefix": {
- "::/64": {
- "autonomous-flag": "true",
- "on-link-flag": "true",
- "valid-lifetime": "2592000"
- }
- },
- "radvd-options": [
- "RDNSS ****::254 {};"
- ],
- "reachable-time": "0",
- "retrans-timer": "0",
- "send-advert": "true"
- }
- }
- },
- "eth2": {
- "description": "eth2 - FTTH",
- "duplex": "auto",
- "mtu": "1512",
- "speed": "auto",
- "vif": {
- "4": {
- "address": [
- "dhcp"
- ],
- "description": "eth2.4 - IPTV",
- "dhcp-options": {
- "client-option": [
- "send vendor-class-identifier "IPTV_RG";",
- "request subnet-mask, routers, rfc3442-classless-static-routes;"
- ],
- "default-route": "no-update",
- "default-route-distance": "210",
- "name-server": "update"
- }
- },
- "6": {
- "description": "eth2.6 - Internet",
- "mtu": "1508",
- "pppoe": {
- "2": {
- "default-route": "auto",
- "idle-timeout": "180",
- "dhcpv6-pd": {
- "no-dns": "''",
- "pd": {
- "0": {
- "interface": {
- "eth0": {
- "host-address": "::1",
- "prefix-id": ":1",
- "service": "dhcpv6-stateless"
- }
- },
- "prefix-length": "/48"
- }
- },
- "rapid-commit": "disable"
- },
- "firewall": {
- "in": {
- "ipv6-name": "WANv6_IN",
- "name": "WAN_IN"
- },
- "local": {
- "ipv6-name": "WANv6_LOCAL",
- "name": "WAN_LOCAL"
- }
- },
- "ipv6": {
- "address": {
- "autoconf": "''"
- },
- "dup-addr-detect-transmits": "1",
- "enable": "''"
- },
- "mtu": "1500",
- "name-server": "auto",
- "password": "kpn",
- "user-id": "****@internet"
- }
- }
- }
- }
- }
- }
- },
- "port-forward": {
- "auto-firewall": "enable",
- "wan-interface": "pppoe2"
- },
- "protocols": {
- "igmp-proxy": {
- "interface": {
- "eth0": {
- "role": "disabled",
- "threshold": "1"
- },
- "eth0.5": {
- "role": "disabled",
- "threshold": "1"
- },
- "eth0.4": {
- "alt-subnet": [
- "0.0.0.0/0"
- ],
- "role": "downstream",
- "threshold": "1"
- },
- "eth2.4": {
- "alt-subnet": [
- "0.0.0.0/0"
- ],
- "role": "upstream",
- "threshold": "1"
- },
- "eth2.6": {
- "role": "disabled",
- "threshold": "1"
- },
- "pppoe2": {
- "role": "disabled",
- "threshold": "1"
- }
- }
- },
- "static": {
- "interface-route6": {
- "::/0": {
- "next-hop-interface": {
- "pppoe2": "''"
- }
- }
- }
- }
- },
- "service": {
- "dhcp-server": {
- "hostfile-update": "disable",
- "global-parameters": [
- "option vendor-class-identifier code 60 = string;",
- "option broadcast-address code 28 = ip-address;"
- ]
- },
- "nat": {
- "rule": {
- "5000": {
- "description": "IPTV",
- "destination": {
- "address": "213.75.112.0/21"
- },
- "log": "disable",
- "outbound-interface": "eth2.4",
- "protocol": "all",
- "type": "masquerade"
- },
- "5010": {
- "description": "KPN Internet",
- "log": "disable",
- "outbound-interface": "pppoe2",
- "protocol": "all",
- "type": "masquerade"
- },
- "6001": {
- "disable": "''"
- },
- "6002": {
- "disable": "''"
- },
- "6003": {
- "disable": "''"
- },
- "6004": {
- "disable": "''"
- }
- }
- }
- },
- "system": {
- "name-server": [
- "208.67.222.222",
- "2620:0:ccc::2",
- "2001:4860:4860::8888",
- "8.8.8.8"
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment