Last active
October 14, 2025 06:42
-
-
Save danielb7390/3311fd5c5fc1fc53c79dabdfc4eb70c9 to your computer and use it in GitHub Desktop.
Mikrotik Vodafone IPTV Configuration
This file contains hidden or 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
| # Configuration for Vodafone Portugal IPTV service. | |
| # Tested with VBOX Pro 4k. | |
| # Also tested with a older Cisco Mediaroom, needs some more stuff, check the end of the file. | |
| # Feel free to leave comments with suggestions and/or improvements! | |
| # Credit to the original users that provided the pfsense config found at https://forum.zwame.pt/threads/iptv-net-vodafone-com-pfsense.1049250 | |
| # 2023-08-01 20:57:50 by RouterOS 7.10.1 | |
| # model = RB5009UPr+S+ | |
| # example interfaces using a sfp module | |
| /interface vlan | |
| add interface=sfp-sfpplus1 name=sfp-iptv vlan-id=105 | |
| add interface=sfp-sfpplus1 name=sfp-wan vlan-id=100 | |
| # make sure to set igmp-snooping=yes in the main lan bridge interface | |
| # Add iptv to the WAN list | |
| /interface list member add interface=sfp-iptv list=WAN | |
| # Add dhcp client to iptv interface | |
| /ip dhcp-client add add-default-route=special-classless default-route-distance=210 interface=sfp-iptv use-peer-dns=no use-peer-ntp=no | |
| # Add firewall rules to accept the IPTV traffic | |
| /ip firewall filter | |
| add action=accept chain=input comment="iptv: Accept IGMP" connection-state="" \ | |
| dst-address=224.0.0.0/4 dst-address-list="" in-interface=sfp-iptv protocol=igmp | |
| add action=accept chain=forward comment="iptv: Accept and forward udp multicast iptv traffic" \ | |
| connection-state=established,related,new,untracked dst-address=\ | |
| 224.0.0.0/4 in-interface=sfp-iptv protocol=udp | |
| # activate and configure igmp-proxy | |
| /routing igmp-proxy set query-interval=30s quick-leave=yes | |
| /routing igmp-proxy interface | |
| add interface=bridge | |
| add alternative-subnets=10.2.0.0/18,224.0.0.0/4,10.56.192.0/19 interface=sfp-iptv upstream=yes | |
| # | |
| # Extra stuff for the old Cisco MediaRoom STBs | |
| # | |
| # Create a DHCP option with the IPTV DNS servers | |
| /ip dhcp-server option add code=6 name=iptv_dns value="'87.103.119.196''213.30.36.212'" | |
| # Connect the STB to the network, go to IP => DHCP Server => Leases, find it there double click it and "Make Static". | |
| # Double click it again, and change the "DHCP Options" dropdown to the option created before "iptv_dns" | |
| # The rule "iptv: Accept and forward udp multicast iptv traffic" can't be that specific, had to remove the dst-address part | |
| # Not sure what are the security implications of doing this tho, if anyone has some information to share feel free | |
| /ip firewall filter add action=accept chain=forward comment="iptv: Accept and forward udp iptv traffic" \ | |
| connection-state=established,related,new,untracked in-interface=sfp-iptv protocol=udp |
Anyone using OpenWrt?
@deluxor your "image" seems to have been removed unfortunately.
I am very interested in replacing the FAST5671 Vodafone is forcing me to use with something I actually own. Vodafone gives me actually no options and I am stuck with no options : (
@deluxor I probably messed up copying the URL earlier, I got it now. Thanks
Essa password do PLOAM é algo que me interessa saber em como obter. @deluxor consegues dar umas dicas?
@ticklemynausea did you manage to reach @deluxor? I also sent him an invite on Matrix.
Just wondering if you guys found a way to get the FAST 5671 data without the hassle of begging Vodafone for it... :/
Vou tentar, porque já tentei várias configurações e ainda não consegui.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
finally migrated
for future this is data what i set:
flash set GPON_SN: s/n router HWTC... (could get on stick)
flash set PON_VENDOR_ID HWTC
flash set ELAN_MAC_ADDR MACADDR router (could get on stick)
flash set GPON_PLOAM_PASSWD GPON_PASSWORD
RTK.0> gpon get onu-state
ONU state: Operation State(O5)