Advertisement
Guest User

Untitled

a guest
Jul 11th, 2018
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.62 KB | None | 0 0
  1. {
  2.     "firewall":{
  3.       "source-validation":"disable"
  4.    },
  5.     "interfaces": {
  6.         "ethernet": {
  7.             "eth0": {
  8.                 "description": "eth0 - FTTH",
  9.                 "duplex": "auto",
  10.                 "speed": "auto",
  11.                 "vif": {
  12.                     "4": {
  13.                         "mac": "MAC:ADDRESS:VAN:EXPERIABOX:PLUS:1:OMHOOG:AAN:HET:EIND",
  14.                         "address": [
  15.                             "dhcp"
  16.                         ],
  17.                         "description": "eth0.4 - IPTV",
  18.                         "dhcp-options": {
  19.                             "client-option": [
  20.                                 "send vendor-class-identifier "IPTV_RG";",
  21.                                 "request subnet-mask, routers, rfc3442-classless-static-routes;"
  22.                             ],
  23.                             "default-route": "no-update",
  24.                             "default-route-distance": "210",
  25.                             "name-server": "update"
  26.                         }
  27.                     },
  28.                     "34": {
  29.                         "mac": "MAC:VAN:EXPERIABOX",
  30.                         "description": "eth0.34 - Internet",
  31.                         "firewall": {
  32.                             "in": {
  33.                                 "name": "WAN_IN"
  34.                             },
  35.                             "local": {
  36.                                 "name": "WAN_LOCAL"
  37.                             },
  38.                             "out": {
  39.                                 "name": "WAN_OUT"
  40.                             }
  41.                         },
  42.  
  43.  
  44.                         "address": [
  45.  
  46.                             "dhcp"
  47.  
  48.                         ],
  49.                         "dhcp-options": {
  50.                             "default-route": "update",
  51.                             "name-server": "update",
  52.                             "default-route-distance": "1"
  53.  
  54.                         }
  55.  
  56.                     }
  57.                 }
  58.             },
  59.             "eth1": {
  60.                 "description": "eth1 - LAN",
  61.                 "address": [
  62.                     "192.168.1.254/24"
  63.                 ],
  64.                 "duplex": "auto",
  65.                 "firewall": {
  66.                     "in": {
  67.                         "name": "LAN_IN"
  68.                     },
  69.                     "local": {
  70.                         "name": "LAN_LOCAL"
  71.                     },
  72.                     "out": {
  73.                         "name": "LAN_OUT"
  74.                     }
  75.                 },
  76.                 "speed": "auto"
  77.             },
  78.             "eth2": {
  79.                 "disable": "''",
  80.                 "duplex": "auto",
  81.                 "speed": "auto"
  82.             }
  83.         },
  84.         "loopback": {
  85.             "lo": "''"
  86.         }
  87.     },
  88.     "protocols": {
  89.         "igmp-proxy": {
  90.             "interface": {
  91.                 "eth0": {
  92.                     "role": "disabled",
  93.                     "threshold": "1"
  94.                 },
  95.                 "eth0.4": {
  96.                     "alt-subnet": [
  97.                         "0.0.0.0/0"
  98.                     ],
  99.                     "role": "upstream",
  100.                     "threshold": "1"
  101.                 },
  102.                 "eth1": {
  103.                     "role": "downstream",
  104.                     "threshold": "1"
  105.                 }
  106.             }
  107.         },
  108.         "static": {
  109.             "interface-route": {
  110.                 "0.0.0.0/0": {
  111.                     "next-hop-interface": {
  112.                         "eth0.34": {
  113.                             "distance": "1"
  114.                         }
  115.                     }
  116.                 }
  117.             },
  118.             "route": {
  119.                 "213.75.112.0/21": {
  120.                     "next-hop": {
  121.                         "10.88.36.1": "''"
  122.                     }
  123.                 }
  124.             }
  125.         }
  126.     },
  127.     "port-forward": {
  128.         "auto-firewall": "enable",
  129.         "hairpin-nat": "enable",
  130.         "lan-interface": [
  131.             "eth1"
  132.         ],
  133.         "wan-interface": "eth0.34"
  134.     },
  135.     "service": {
  136.         "nat": {
  137.             "rule": {
  138.                 "5000": {
  139.                     "description": "MASQ corporate_network to IPTV network",
  140.                     "destination": {
  141.                         "address": "213.75.112.0/21"
  142.                     },
  143.                     "log": "disable",
  144.                     "outbound-interface": "eth0.4",
  145.                     "protocol": "all",
  146.                     "type": "masquerade"
  147.                 },
  148.                 "6001": {
  149.                     "description": "MASQ corporate_network to WAN",
  150.                     "log": "disable",
  151.                     "outbound-interface": "eth0.34",
  152.                     "protocol": "all",
  153.                     "source": {
  154.                         "group": {
  155.                             "network-group": "corporate_network"
  156.                         }
  157.                     },
  158.                     "type": "masquerade"
  159.                 },
  160.                 "6002": {
  161.                     "description": "MASQ remote_user_vpn_network to WAN",
  162.                     "log": "disable",
  163.                     "outbound-interface": "eth0.34",
  164.                     "protocol": "all",
  165.                     "source": {
  166.                         "group": {
  167.                             "network-group": "remote_user_vpn_network"
  168.                         }
  169.                     },
  170.                     "type": "masquerade"
  171.                 },
  172.                 "6003": {
  173.                     "description": "MASQ guest_network to WAN",
  174.                     "log": "disable",
  175.                     "outbound-interface": "eth0.34",
  176.                     "protocol": "all",
  177.                     "source": {
  178.                         "group": {
  179.                             "network-group": "guest_network"
  180.                         }
  181.                     },
  182.                     "type": "masquerade"
  183.                 }
  184.             }
  185.         }
  186.     }
  187. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement