Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2018
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.69 KB | None | 0 0
  1. {
  2.     "interfaces": {
  3.         "ethernet": {
  4.             "eth0": {
  5.                 "dhcp-options": {
  6.                     "default-route": "no-update",
  7.                     "default-route-distance": "1",
  8.                     "name-server": "no-update"
  9.                 },
  10.                 "vif": {
  11.                     "4": {
  12.                         "address": [
  13.                             "dhcp"
  14.                         ],
  15.                         "description": "WAN",
  16.                         "dhcp-options": {
  17.                             "client-option": [
  18.                                 "send vendor-class-identifier "IPTV_RG";",
  19.                                 "request subnet-mask, routers, rfc3442-classless-static-routes;"
  20.                             ],
  21.                             "default-route": "no-update",
  22.                             "default-route-distance": "210",
  23.                             "name-server": "no-update"
  24.                         },
  25.                         "ip": {
  26.                             "source-validation": "loose"
  27.                         }
  28.  
  29.                     },
  30.                     "6": {
  31.                         "description": "WAN",
  32.                         "firewall": {
  33.                             "in": {
  34.                                 "ipv6-name": "WANv6_IN",
  35.                                 "name": "WAN_IN"
  36.                             },
  37.                             "local": {
  38.                                 "ipv6-name": "WANv6_LOCAL",
  39.                                 "name": "WAN_LOCAL"
  40.                             },
  41.                             "out": {
  42.                                 "ipv6-name": "WANv6_OUT",
  43.                                 "name": "WAN_OUT"
  44.                             }
  45.                         },
  46.                         "pppoe": {
  47.                             "2": {
  48.                                 "default-route": "auto",
  49.                                 "firewall": {
  50.                                     "in": {
  51.                                         "ipv6-name": "WANv6_IN",
  52.                                         "name": "WAN_IN"
  53.                                     },
  54.                                     "local": {
  55.                                         "ipv6-name": "WANv6_LOCAL",
  56.                                         "name": "WAN_LOCAL"
  57.                                     },
  58.                                     "out": {
  59.                                         "ipv6-name": "WANv6_OUT",
  60.                                         "name": "WAN_OUT"
  61.                                     }
  62.                                 },
  63.                                 "name-server": "auto",
  64.                                 "password": "kpn",
  65.                                 "user-id": "kpn"
  66.                             }
  67.                         }
  68.                     }
  69.  
  70.                 }
  71.             }
  72.         }
  73.     },
  74.     "protocols": {
  75.         "igmp-proxy": {
  76.             "interface": {
  77.                 "eth0.4": {
  78.                     "alt-subnet": [
  79.                         "0.0.0.0/0"
  80.                     ],
  81.                     "role": "upstream",
  82.                     "threshold": "1"
  83.                 },
  84.                 "eth1": {
  85.                     "alt-subnet": [
  86.                         "0.0.0.0/24"
  87.                     ],
  88.                     "role": "downstream",
  89.                     "threshold": "1"
  90.                 }
  91.             }
  92.         },
  93.         "static": {
  94.             "route": {
  95.                 "213.75.112.0/21": {
  96.                     "next-hop": {
  97.                         "10.213.96.1": "''"
  98.                     }
  99.                 }
  100.             }
  101.         }
  102.     },
  103.     "port-forward": {
  104.         "wan-interface": "pppoe2"
  105.     },
  106.  
  107.     "service": {
  108.         "dns": {
  109.             "forwarding": {
  110.                 "except-interface": [
  111.                     "pppoe2"
  112.                 ]
  113.             }
  114.         },
  115.         "nat": {
  116.             "rule": {
  117.                 "5000": {
  118.                     "description": "MASQ corporate_network to IPTV network",
  119.                     "destination": {
  120.                         "address": "213.75.112.0/21"
  121.                     },
  122.                     "log": "disable",
  123.                     "outbound-interface": "eth0.4",
  124.                     "protocol": "all",
  125.                     "type": "masquerade"
  126.                 },
  127.                 "6001": {
  128.                     "outbound-interface": "pppoe2"
  129.                 },
  130.                 "6002": {
  131.                     "outbound-interface": "pppoe2"
  132.                 },
  133.                 "6003": {
  134.                     "outbound-interface": "pppoe2"
  135.                 }
  136.             }
  137.         }
  138.     }
  139. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement