Created
March 17, 2022 21:45
-
-
Save lopesdasilva/984678cbe2eb429f9526375ffcd0e0ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"interfaces": { | |
"ethernet": { | |
"eth0": { | |
"description": "WAN", | |
"vif": { | |
"105": { | |
"description": "IPTV", | |
"address": ["dhcp"], | |
"dhcp-options": { | |
"default-route": "no-update", | |
"default-route-distance": "100", | |
"name-server": "update" | |
}, | |
"firewall": { | |
"in": { | |
"ipv6-name": "WANv6_IN", | |
"name": "WAN_IN" | |
}, | |
"local": { | |
"ipv6-name": "WANv6_LOCAL", | |
"name": "WAN_LOCAL" | |
}, | |
"out": { | |
"ipv6-name": "WANv6_OUT", | |
"name": "WAN_OUT" | |
} | |
}, | |
"ip": { | |
"source-validation": "loose" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"service": { | |
"nat": { | |
"rule": { | |
"5000": { | |
"description": "MASQ corporate_network to IPTV network", | |
"destination": { | |
"address": "224.0.0.0/4" | |
}, | |
"log": "enable", | |
"outbound-interface": "eth0.105", | |
"protocol": "all", | |
"type": "masquerade" | |
}, | |
"5001": { | |
"description": "MASQ corporate_network to IPTV network", | |
"destination": { | |
"address": "10.0.0.0/8" | |
}, | |
"log": "enable", | |
"outbound-interface": "eth0.105", | |
"protocol": "all", | |
"type": "masquerade" | |
}, | |
"5010": { | |
"description": "hass", | |
"destination": { | |
"address": "192.168.2.0/23" | |
}, | |
"log": "disable", | |
"outbound-interface": "eth1.2", | |
"protocol": "all", | |
"source": { | |
"address": "192.168.1.0/24" | |
}, | |
"type": "masquerade" | |
} | |
} | |
} | |
}, | |
"protocols": { | |
"igmp-proxy": { | |
"interface": { | |
"eth0": { | |
"role": "disabled", | |
"threshold": "1" | |
}, | |
"eth0.105": { | |
"alt-subnet": ["224.0.0.0/4", "10.0.0.0/8"], | |
"role": "upstream", | |
"threshold": "1" | |
}, | |
"eth0.100": { | |
"role": "disabled", | |
"threshold": "1" | |
}, | |
"eth1": { | |
"role": "disabled", | |
"threshold": "1" | |
}, | |
"eth1.106": { | |
"role": "downstream", | |
"alt-subnet": ["192.168.1.65/27"], | |
"threshold": "1" | |
}, | |
"eth1.2": { | |
"role": "disabled", | |
"threshold": "1" | |
}, | |
"eth1.3": { | |
"role": "disabled", | |
"threshold": "1" | |
}, | |
"eth1.10": { | |
"role": "disabled", | |
"threshold": "1" | |
} | |
} | |
}, | |
"static": { | |
"interface-route": { | |
"0.0.0.0/0": { | |
"next-hop-interface": { | |
"eth0.100": { | |
"distance": "1" | |
} | |
} | |
} | |
}, | |
"route": { | |
"224.0.0.0/4": { | |
"next-hop": "ip atribuido pela vdf (ver no comando show dhcp client leases)" | |
}, | |
"10.0.0.0/8": { | |
"next-hop": "ip atribuido pela vdf (ver no comando show dhcp client leases)" | |
} | |
} | |
} | |
}, | |
"port-forward": { | |
"wan-interface": "eth0.100" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment