Rickth64

Untitled

Oct 25th, 2017
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.64 KB | None | 0 0
  1. {
  2.     "interfaces": {
  3.         "bridge": {
  4.             "br0": {
  5.                 "aging": "300",
  6.                 "bridged-conntrack": "disable",
  7.                 "hello-time": "2",
  8.                 "max-age": "20",
  9.                 "priority": "32768",
  10.                 "promiscuous": "disable",
  11.                 "stp": "false"
  12.             }
  13.         },
  14.         "ethernet": {
  15.             "eth0": {
  16.                 "description": "eth0 - FTTH",
  17.                 "duplex": "auto",
  18.                 "mtu": "1512",
  19.                 "speed": "auto",
  20.                 "vif": {
  21.                     "6": {
  22.                         "description": "eth0.6 - Internet",
  23.                         "mtu": "1508",
  24.                         "pppoe": {
  25.                             "2": {
  26.                                 "idle-timeout": "180",
  27.                                 "mtu": "1500",
  28.                                 "name-server": "auto",
  29.                                 "password": "ppp",
  30.                                 "user-id": "xx-xx-xx-xx-xx-xx@internet"
  31.                             }
  32.                         }
  33.                     },
  34.                     "7": {
  35.                         "bridge-group": {
  36.                             "bridge": "br0"
  37.                         },
  38.                         "description": "eth0.7 - VOIP",
  39.                         "mtu": "1500"
  40.                     }
  41.                 }
  42.             },
  43.             "eth1": {
  44.                 "description": "eth1 - LAN",
  45.                 "duplex": "auto",
  46.                 "speed": "auto"
  47.             },
  48.             "eth2": {
  49.                 "description": "eth2 - ExperiaBox",
  50.                 "duplex": "auto",
  51.                 "speed": "auto",
  52.                 "vif": {
  53.                     "7": {
  54.                         "bridge-group": {
  55.                             "bridge": "br0"
  56.                         },
  57.                         "description": "eth2.7 - ExperiaBox VOIP",
  58.                         "mtu": "1500"
  59.                     }
  60.                 }
  61.             }
  62.         }
  63.     },
  64.     "port-forward": {
  65.         "auto-firewall": "enable",
  66.         "wan-interface": "pppoe2"
  67.     },
  68.     "service": {
  69.         "dns": {
  70.             "forwarding": {
  71.                 "cache-size": 150,
  72.                 "name-server": [
  73.                     "8.8.8.8",
  74.                     "8.8.4.4"
  75.                 ],
  76.                 "except-interface": ["eth0", "eth2","eth0.6"],
  77.                 "options": [
  78.                     "listen-address=192.168.1.1"
  79.                 ]
  80.             }
  81.         },
  82.         "nat": {
  83.             "rule": {
  84.                 "5010": {
  85.                     "description": "KPN Internet",
  86.                     "log": "enable",
  87.                     "outbound-interface": "pppoe2",
  88.                     "protocol": "all",
  89.                     "source": {
  90.                         "address": "192.168.1.0/24"
  91.                     },
  92.                     "type": "masquerade"
  93.                 },
  94.                 "6001": {
  95.                     "disable": "''"
  96.                 },
  97.                 "6002": {
  98.                     "disable": "''"
  99.                 },
  100.                 "6003": {
  101.                     "disable": "''"
  102.                 },
  103.                 "6004": {
  104.                     "disable": "''"
  105.                 },
  106.                 "6005": {
  107.                     "disable": "''"
  108.                 },
  109.                 "6006": {
  110.                     "disable": "''"
  111.                 },
  112.                 "6007": {
  113.                     "disable": "''"
  114.                 },
  115.                 "6008": {
  116.                     "disable": "''"
  117.                 }
  118.             }
  119.         }
  120.     }
  121. }
Advertisement
Add Comment
Please, Sign In to add comment