Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "interfaces": {
- "ethernet": {
- "eth0": {
- "dhcp-options": {
- "default-route": "no-update",
- "default-route-distance": "1",
- "name-server": "no-update"
- },
- "vif": {
- "4": {
- "address": [
- "dhcp"
- ],
- "description": "WAN",
- "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": "no-update"
- },
- "ip": {
- "source-validation": "loose"
- }
- },
- "6": {
- "description": "WAN",
- "firewall": {
- "in": {
- "ipv6-name": "WANv6_IN",
- "name": "WAN_IN"
- },
- "local": {
- "ipv6-name": "WANv6_LOCAL",
- "name": "WAN_LOCAL"
- },
- "out": {
- "ipv6-name": "WANv6_OUT",
- "name": "WAN_OUT"
- }
- },
- "pppoe": {
- "2": {
- "default-route": "auto",
- "firewall": {
- "in": {
- "ipv6-name": "WANv6_IN",
- "name": "WAN_IN"
- },
- "local": {
- "ipv6-name": "WANv6_LOCAL",
- "name": "WAN_LOCAL"
- },
- "out": {
- "ipv6-name": "WANv6_OUT",
- "name": "WAN_OUT"
- }
- },
- "name-server": "auto",
- "password": "kpn",
- "user-id": "kpn"
- }
- }
- }
- }
- }
- }
- },
- "protocols": {
- "igmp-proxy": {
- "interface": {
- "eth0.4": {
- "alt-subnet": [
- "0.0.0.0/0"
- ],
- "role": "upstream",
- "threshold": "1"
- },
- "eth1": {
- "alt-subnet": [
- "0.0.0.0/24"
- ],
- "role": "downstream",
- "threshold": "1"
- }
- }
- },
- "static": {
- "route": {
- "213.75.112.0/21": {
- "next-hop": {
- "10.213.96.1": "''"
- }
- }
- }
- }
- },
- "port-forward": {
- "wan-interface": "pppoe2"
- },
- "service": {
- "dns": {
- "forwarding": {
- "except-interface": [
- "pppoe2"
- ]
- }
- },
- "nat": {
- "rule": {
- "5000": {
- "description": "MASQ corporate_network to IPTV network",
- "destination": {
- "address": "213.75.112.0/21"
- },
- "log": "disable",
- "outbound-interface": "eth0.4",
- "protocol": "all",
- "type": "masquerade"
- },
- "6001": {
- "outbound-interface": "pppoe2"
- },
- "6002": {
- "outbound-interface": "pppoe2"
- },
- "6003": {
- "outbound-interface": "pppoe2"
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement