Rickth64

Untitled

Oct 25th, 2017
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.38 KB | None | 0 0
  1. {
  2.    "interfaces" : {
  3.       "ethernet" : {
  4.          "eth0" : {
  5.             "vif" : {
  6.                "6" : {
  7.                   "pppoe" : {
  8.                      "2" : {
  9.                         "default-route": "none",
  10.                         "user-id" : "xx-xx-xx-xx-xx-xx@internet",
  11.                         "password" : "ppp"
  12.                      }
  13.                   },
  14.                   "description" : "eth0.6 - Internet on VLAN 6 as provided by KPN"
  15.                },
  16.                "7" : {
  17.                   "bridge-group" : {
  18.                      "bridge" : "br0"
  19.                   },
  20.                   "description" : "eth0.7 - Telephony on VLAN 7 as provided by KPN"
  21.                }
  22.             },
  23.             "description" : "eth0 - WAN - Cable from wall (Fiber to the Home/FTTH, NTU) to USG"
  24.          },
  25.          "eth2" : {
  26.             "vif" : {
  27.                "7" : {
  28.                   "description" : "eth2.7 - Bridged from eth0.7 which holds Telephony traffic",
  29.                   "bridge-group" : {
  30.                      "bridge" : "br0"
  31.                   }
  32.                }
  33.             },
  34.             "description" : "eth2 - VOIP - Cable from USG to KPN Experiabox for Telephony"
  35.          },
  36.          "eth1" : {
  37.             "description" : "eth1 - LAN - Cable from USG to first network switch"
  38.          }
  39.       },
  40.       "bridge" : {
  41.          "br0" : {
  42.             "description" : "A bridge intended for bridging tagged VLAN 7 from eth0 (eth0.7) to eth2 (eth2.7, connected to KPN Experiabox which only receives Telephony traffic this way)"
  43.          }
  44.       }
  45.    },
  46.    "port-forward" : {
  47.       "wan-interface" : "pppoe2"
  48.    },
  49.    "service" : {
  50.       "dns" : {
  51.          "forwarding" : {
  52.             "except-interface" : "pppoe2"
  53.          }
  54.       },
  55.       "nat" : {
  56.          "rule" : {
  57.             "6001": {
  58.                "outbound-interface" : "pppoe2"
  59.             },
  60.             "6002": {
  61.                "outbound-interface" : "pppoe2"
  62.             },
  63.             "6003": {
  64.                "outbound-interface" : "pppoe2"
  65.             }
  66.          }
  67.       }
  68.    },
  69.    "protocols": {
  70.       "static" : {
  71.          "interface-route" : {
  72.             "0.0.0.0/0": {
  73.                "next-hop-interface" : {
  74.                   "pppoe2" : {
  75.                      "distance" : "1"
  76.                   }
  77.                }
  78.             }
  79.          }
  80.       }
  81.    }
  82. }
Advertisement
Add Comment
Please, Sign In to add comment