Skip to content

Instantly share code, notes, and snippets.

@robinsmidsrod
Created February 2, 2023 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robinsmidsrod/35894f5fbaef210869d2b40759654f24 to your computer and use it in GitHub Desktop.
Save robinsmidsrod/35894f5fbaef210869d2b40759654f24 to your computer and use it in GitHub Desktop.
Informasjon om Altibox IPTV oppsett med egen router
Jeg fant på https://forum.openwrt.org/t/help-getting-iptv-working-with-the-altibox-isp/38063/24?page=2 litt informasjon som jeg har skrevet om litt etter informasjon fra @trrunde (diskusjon.no).
The requirements for forwarding Altbox IPTV and Internet between fiber (with SFP or media converter) and a shared lan with both STBs and Internet clients are simple:
* tag VLAN 101 (IPTV) and 102 (Internet) on wan
* clone mac address of ISP gateway/router on the wan.101 interface
* run DHCP client on both wan.101 and wan.102
* SNAT/masquerade between lan and both wan interfaces
* igmpproxy between wan.101 (upstream) and lan (downstream)
* upstream altnet must be specified for both of the static route CIDR
* default route out wan.102
* Warning: both DHCP servers emit default routes
* Ensure route metric for wan.102 has preference (higher metric = lower priority) over wan.101
* Static routes out of wan.101:
* 10.133.0.0/16
* 172.21.0.0/16
* both VLAN 101 and LAN must have IGMP snooping (unifi) enabled
Standard Internet firwall rules on wan.102.
Allow at least igmp and multicast to udp port 5501 on wan.101, but probably more. I recommend initial testing without firewalling on wan.101. The IPTV network is private anyway.
The Altibox IPTVT DHCP server will send this list of routes to the DHCP client if the client requests option 121 (rfc3442-classless-static-routes) and sends vendor-class-identifier = "VMG8825-B50B". You may use this to automatically set up proper routing on wan.101.
Altibox have enabled native DHCPv6 in most of their network now, so you may also want to run a DHCPv6-PD client on wan.102. You will get a /56 prefix.
Multicast help: https://support.biamp.com/General/Networking/Multicast_traffic_and_IGMP
Use 'ip mroute' to verify multicast routing by igmpproxy.
Troubleshooting: tcpdump -ni enp2s0 -i enp5s0 'ether host 8c:e5:ef:xx:xx:xx or ether multicast'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment