Skip to content

Commit

Permalink
Add Vivo GVT profile (fabianishere#174)
Browse files Browse the repository at this point in the history
Profile for Vivo GVT / Zone 2. Needs an additional vlan so VOD/Vivo play works. Based on @jotala. If the scripts is ever able to create this second vlan I think I´ve set some variables and let them comment for the future...
  • Loading branch information
apedroheringer authored Sep 19, 2022
1 parent a0beca2 commit 0e8756e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions profiles/vivogvt.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/sh -e
# Profile for Vivo GVT (BR)
#
# Copyright (C) 2022 Fabian Mastenbroek.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

db_get udm-iptv/wan-port
db_set udm-iptv/wan-interface "$RET"

db_set udm-iptv/wan-vlan 4000
db_set udm-iptv/wan-ranges "0.0.0.0/0"
db_set udm-iptv/wan-dhcp false
db_set udm-iptv/wan-static-ip "10.0.0.1/32"
#db_set udm-iptv/vod="true"
#db_set udm-iptv/vod-vlan=602
#db_set udm-iptv/vod_wan_vlan_interface="vod"
#db_set udm-iptv/vod-wan-ranges="172.28.0.0/14 177.16.0.0/16 200.161.71.0/24 201.0.52.0/23"
#db_set udm-iptv/vod-wan-dhcp-options "-O staticroutes -V TEF_IPTV"

db_subst udm-iptv/profile-note note "Set DNS servers to 177.16.30.67 and 177.16.30.7 for internal IPTV network"
db_input medium udm-iptv/profile-note || true

0 comments on commit 0e8756e

Please sign in to comment.