Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "interfaces":{
- "ethernet":{
- "eth0":{
- "description":"eth0 - FTTH",
- "duplex":"auto",
- "speed":"auto",
- "vif":{
- "4":{
- "mac":"MAC ADRES",
- "address":[
- "dhcp"
- ],
- "description":"eth0.4 - IPTV",
- "dhcp-options":{
- "client-option":[
- "send vendor-class-identifier ",
- "IPTV_RG",
- ";"
- ],
- "default-route":"no-update",
- "default-route-distance":"210",
- "name-server":"update"
- }
- },
- "34":{
- "mac":"MAC ADRES",
- "description":"eth0.34 - Internet",
- "firewall":{
- "in":{
- "name":"WAN_IN"
- },
- "local":{
- "name":"WAN_LOCAL"
- },
- "out":{
- "name":"WAN_OUT"
- }
- },
- "address":[
- "dhcp"
- ],
- "dhcp-options":{
- "client-option":[
- "send vendor-class-identifier ",
- "IPTV_RG",
- ";"
- ],
- "default-route":"update",
- "name-server":"update",
- "default-route-distance":"1"
- }
- }
- }
- },
- "eth1":{
- "description":"eth1 - LAN",
- "address":[
- "IPADRES USG/24"
- ],
- "duplex":"auto",
- "firewall":{
- "in":{
- "name":"LAN_IN"
- },
- "local":{
- "name":"LAN_LOCAL"
- },
- "out":{
- "name":"LAN_OUT"
- }
- },
- "speed":"auto"
- },
- "eth2":{
- "disable":"''",
- "duplex":"auto",
- "speed":"auto"
- }
- },
- "loopback":{
- "lo":"''"
- }
- },
- "protocols":{
- "igmp-proxy":{
- "interface":{
- "eth0.4":{
- "alt-subnet":[
- "0.0.0.0/0"
- ],
- "role":"upstream",
- "threshold":"1"
- },
- "eth1":{
- "alt-subnet":[
- "0.0.0.0/0"
- ],
- "role":"downstream",
- "threshold":"1"
- }
- }
- },
- "static":{
- "interface-route":{
- "0.0.0.0/0":{
- "next-hop-interface":{
- "eth0.34":{
- "distance":"1"
- }
- }
- }
- },
- "route":{
- "213.75.112.0/21":{
- "next-hop":{
- "10.95.140.1":"''"
- }
- }
- }
- }
- },
- "port-forward":{
- "auto-firewall":"enable",
- "hairpin-nat":"enable",
- "lan-interface":[
- "eth1"
- ],
- "wan-interface":"eth0.34"
- },
- "service":{
- "nat":{
- "rule":{
- "5000":{
- "description":"MASQ corporate_network to IPTV network",
- "destination":{
- "address":"213.75.112.0/21"
- },
- "log":"disable",
- "outbound-interface":"eth0.4",
- "protocol":"all",
- "type":"masquerade"
- },
- "6001":{
- "description":"MASQ corporate_network to WAN",
- "log":"disable",
- "outbound-interface":"eth0.34",
- "protocol":"all",
- "source":{
- "group":{
- "network-group":"corporate_network"
- }
- },
- "type":"masquerade"
- },
- "6002":{
- "description":"MASQ remote_user_vpn_network to WAN",
- "log":"disable",
- "outbound-interface":"eth0.34",
- "protocol":"all",
- "source":{
- "group":{
- "network-group":"remote_user_vpn_network"
- }
- },
- "type":"masquerade"
- },
- "6003":{
- "description":"MASQ guest_network to WAN",
- "log":"disable",
- "outbound-interface":"eth0.34",
- "protocol":"all",
- "source":{
- "group":{
- "network-group":"guest_network"
- }
- },
- "type":"masquerade"
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment