To put it simply, the principle is to use a software router with multiple WAN or single WAN (VLAN) to dial or obtain an IPTV-specific internal IP from the optical modem through DHCP, and then the software router acts as a UDPXY proxy to convert the operator's multicast signal into internal unicast for use.
The blogger uses an N3450 dual gigabit software router, so physical multiple WAN cannot be achieved, and only VLAN mode dialing can be used.
Optical modem settings consist of three parts: (If the router has physical multiple WAN, this step can be omitted, just use one network cable to connect the optical modem's IPTV port and the router's second WAN port)
Enter the optical modem with a super password. If you don't know the super password, please call the installation and maintenance technician, they will usually provide it.
Set up the internet connection, do not change the default VLAN value.
IPTV connection settings, do not change the default VLAN value.
VLAN binding
Here, the blogger binds four user-side VLANs to the gigabit port, namely VLAN broadband, broadband dual dial (these two user-side VLANs 41 and 51 correspond to WAN-side VLAN 41 for internet access), user-side VLAN 45 corresponds to IPTV, and user-side VLAN 50 corresponds to the internet access part of the router (this VLAN is used for direct access to the optical modem after internal network bridging).
Router settings consist of two parts: VLAN dialing + udpxy proxy#
Set up broadband and IPTV dialing, select VLAN hybrid mode, and then create three dial-up connections corresponding to the two user-side internet VLAN IDs and one user-side IPTV VLAN ID set earlier.
Then create a static IP for direct connection to the optical modem for easy operation later.
At this point, as long as all IP addresses are displayed correctly, the router has successfully dialed IPTV and broadband together. If the IP does not appear correctly, go back to the original IPTV set-top box to check the account password and IPTV internet access method and make adjustments if necessary. If you have a router with multiple WAN ports connected to the IPTV port of the optical modem, select "Physical Network Card-based Hybrid Mode" and follow the same principle to dial the IPTV connection. The result will be the same.
Set up the udpxy proxy.
In this case, select the previously dialed IPTV connection as the signal source interface for udpxy. The port can be any five-digit number, but it is recommended to use a five-digit number. After setting it up, open the following address:
http://routerIP:port/status
If the following interface appears, check if the IP address in the red box matches the IP address obtained from the previous IPTV connection. If they don't match, go back and check the settings.
At this point, all the settings are complete. You only need to capture the IPTV of the local ISP, convert the multicast address to unicast, and import it into computer/mobile/tablet/TV/OTT set-top box playback software.
You can Google specific tutorials for capturing packets. If you don't know how to capture, you can Google the IPTV list for your local area, most provinces can be downloaded directly, and then modify them as needed.
For example, here the capture address for Hunan TV is: rtp://239.76.252.115:9000?ChannelFCCIP=10.255.168.4&ChannelFCCPort=15970. Remove the content after the port number 9000, it becomes rtp://239.76.252.115:9000
Then replace "rtp://" with "http://192.168.0.1:18888/udp/" (the blogger's router address is 192.168.0.1, port number is 18888, change it according to your own situation). Generally, IPTV has 100+ channels, so you can use Notepad++ to batch replace.
It becomes http://192.168.0.1:18888/udp/239.76.253.100:9000
Finally, take a look at using VLC player on the computer to open IPTV. Just enter the network address, or you can organize the channels into an m3u file and upload it to epg.51zmt.top:8000 to automatically generate logos. If you need EPG program previews, you can also refer to this website for settings.
This article mainly explains the principle, and it is not recommended for beginners without network knowledge to set it up themselves, especially the optical modem settings, which, if not done properly, may cause network disconnection. The blogger is not responsible for any network malfunctions caused by improper settings. Please contact the installation and maintenance technician for assistance.
Train of thought:
Currently, the firmware that supports both multiple WAN and UDPXY settings on a hardware router is only found on the 7621A flashed with Gaoqi firmware. In theory, it also has the basic conditions to implement the functionality described in this article. If there are other routers that meet both of these conditions, please let everyone know.
Finally, enjoy!