Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "interfaces": {
- "bridge": {
- "br0": {
- "aging": "300",
- "bridged-conntrack": "disable",
- "hello-time": "2",
- "max-age": "20",
- "priority": "32768",
- "promiscuous": "disable",
- "stp": "false"
- }
- },
- "ethernet": {
- "eth0": {
- "description": "eth0 - FTTH",
- "duplex": "auto",
- "mtu": "1512",
- "speed": "auto",
- "vif": {
- "6": {
- "description": "eth0.6 - Internet",
- "mtu": "1508",
- "pppoe": {
- "2": {
- "idle-timeout": "180",
- "mtu": "1500",
- "name-server": "auto",
- "password": "ppp",
- "user-id": "xx-xx-xx-xx-xx-xx@internet"
- }
- }
- },
- "7": {
- "bridge-group": {
- "bridge": "br0"
- },
- "description": "eth0.7 - VOIP",
- "mtu": "1500"
- }
- }
- },
- "eth1": {
- "description": "eth1 - LAN",
- "duplex": "auto",
- "speed": "auto"
- },
- "eth2": {
- "description": "eth2 - ExperiaBox",
- "duplex": "auto",
- "speed": "auto",
- "vif": {
- "7": {
- "bridge-group": {
- "bridge": "br0"
- },
- "description": "eth2.7 - ExperiaBox VOIP",
- "mtu": "1500"
- }
- }
- }
- }
- },
- "port-forward": {
- "auto-firewall": "enable",
- "wan-interface": "pppoe2"
- },
- "service": {
- "dns": {
- "forwarding": {
- "cache-size": 150,
- "name-server": [
- "8.8.8.8",
- "8.8.4.4"
- ],
- "except-interface": ["eth0", "eth2","eth0.6"],
- "options": [
- "listen-address=192.168.1.1"
- ]
- }
- },
- "nat": {
- "rule": {
- "5010": {
- "description": "KPN Internet",
- "log": "enable",
- "outbound-interface": "pppoe2",
- "protocol": "all",
- "source": {
- "address": "192.168.1.0/24"
- },
- "type": "masquerade"
- },
- "6001": {
- "disable": "''"
- },
- "6002": {
- "disable": "''"
- },
- "6003": {
- "disable": "''"
- },
- "6004": {
- "disable": "''"
- },
- "6005": {
- "disable": "''"
- },
- "6006": {
- "disable": "''"
- },
- "6007": {
- "disable": "''"
- },
- "6008": {
- "disable": "''"
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment