Advertisement
Guest User

USG config

a guest
Oct 14th, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.39 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.                   "6":{
  29.                      "description":"WAN",
  30.                      "firewall":{
  31.                         "in":{
  32.                            "ipv6-name":"WANv6_IN",
  33.                            "name":"WAN_IN"
  34.                         },
  35.                         "local":{
  36.                            "ipv6-name":"WANv6_LOCAL",
  37.                            "name":"WAN_LOCAL"
  38.                         },
  39.                         "out":{
  40.                            "ipv6-name":"WANv6_OUT",
  41.                            "name":"WAN_OUT"
  42.                         }
  43.                      },
  44.                      "pppoe":{
  45.                         "2":{
  46.                            "default-route":"auto",
  47.                            "firewall":{
  48.                               "in":{
  49.                                  "ipv6-name":"WANv6_IN",
  50.                                  "name":"WAN_IN"
  51.                               },
  52.                               "local":{
  53.                                  "ipv6-name":"WANv6_LOCAL",
  54.                                  "name":"WAN_LOCAL"
  55.                               },
  56.                               "out":{
  57.                                  "ipv6-name":"WANv6_OUT",
  58.                                  "name":"WAN_OUT"
  59.                               }
  60.                            },
  61.                            "name-server":"auto",
  62.                            "password":"kpn",
  63.                            "user-id":"kpn"
  64.                         }
  65.                      }
  66.                   }
  67.                }
  68.             }
  69.          },
  70.          "protocols":{
  71.             "igmp-proxy":{
  72.                "interface":{
  73.                   "eth0.4":{
  74.                      "alt-subnet":[
  75.                         "0.0.0.0/0"
  76.                      ],
  77.                      "role":"upstream",
  78.                      "threshold":"1"
  79.                   },
  80.                   "eth1":{
  81.                      "alt-subnet":[
  82.                         "0.0.0.0/24"
  83.                      ],
  84.                      "role":"downstream",
  85.                      "threshold":"1"
  86.                   }
  87.                }
  88.             },
  89.             "static":{
  90.                "route":{
  91.                   "213.75.112.0/21":{
  92.                      "next-hop":{
  93.                         "10.0.80.1":"''"
  94.                      }
  95.                   }
  96.                }
  97.             }
  98.          },
  99.          "port-forward":{
  100.             "wan-interface":"pppoe2"
  101.          },
  102.          "service":{
  103.             "dns":{
  104.                "forwarding":{
  105.                   "except-interface":[
  106.                      "pppoe2"
  107.                   ]
  108.                }
  109.             },
  110.             "nat":{
  111.                "rule":{
  112.                   "5000":{
  113.                      "description":"MASQ corporate_network to IPTV network",
  114.                      "destination":{
  115.                         "address":"213.75.112.0/21"
  116.                      },
  117.                      "log":"disable",
  118.                      "outbound-interface":"eth0.4",
  119.                      "protocol":"all",
  120.                      "type":"masquerade"
  121.                   },
  122.                   "6001":{
  123.                      "outbound-interface":"pppoe2"
  124.                   },
  125.                   "6002":{
  126.                      "outbound-interface":"pppoe2"
  127.                   },
  128.                   "6003":{
  129.                      "outbound-interface":"pppoe2"
  130.                   }
  131.                }
  132.             }
  133.          }
  134.       }
  135.    }
  136. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement