There is a NAT rule for viewing IPTV from the provider's UDP-to-HTTP server from outside the provider's network (ie from the Internet):
ether1 is the interface to which the Internet and iptv come.
Code: Select all
;;; iptv for remote clients chain=dstnat action=dst-nat to-addresses="IP of the UDP-to-HTTP provider server" to-ports=4022 protocol=tcp in-interface=ether1 dst-port=4321
In the first case, everything works without problems. Users from the outside quite normally view IPTV using a modified playlist for the above rule.
Example address from a modified playlist: http://somehostname:4321/udp/22.214.171.124:1234
But there is a second case, with the second provider, which has absolutely the same scheme for providing IPTV to its users (via a UDP-to-HTTP server), but when using the same rule as described above, something goes wrong, namely, when a modified playlist is loaded , you will be asked to enter your login and password (which is not observed when viewing IPTV within the network).
The second provider does not have a visible restriction on the number of simultaneously viewed channels from one host or something similar.
Tell me, please, how to overcome the problem with the second provider?
Thanks to Google Translate