I few month ago I installed Proxmox on capable PC and created a few LXC and VM mainly for home automation and unifi controller and everything works fine.
I have also old tv box where I installed librelec (kodi) in order to watch iptv on kodi. Unfortunately libreelec does not accept a multicast UDP stream from internet provider (adresses 239.x.x.x on port 5000) so the solution is to have UDP to HTTP multicast traffic relay daemon. For that purpose I installed first on old computer with Ubuntu udpxy and I was able to watch iptv programs on tv box with installed libreelec.
Old computer, tv box and proxmox server are connceted on the same local network (mikrotik router).
Because I do not need separate hardware for udpxy I decided to install udpxy on LXC. I managed to install udpxy on LXC (ubuntu) and I was able to get udpxy status but when I tried to watch iptv chanels from tv box it or VLC did not work.
In the log of udpxy showed that udpxy could not receive any data from the specified multicast address 239.10.15.56:5000. As a result, it terminated the relay due to a timeout.
2024-12-18 22:34:31.986149 CET c(1802) read_buf: socket time-out on read
2024-12-18 22:34:31.986158 CET c(1802) read_data - EOF
2024-12-18 22:34:31.986172 CET c(1802) Exited relay loop: received=[-1], sent=[0], quit=[0]
Probably the problem is that LXC can not receive data from udp multicast stream.
Firewall rules are disabled on all 3 levels of Proxmox server.
Because my knowledge is quite low regarding networking and also Proxmox I need help to solve this. I tried with Chat GPT but without success….
Below you will find some setups on Proxmox host and lxc machine.
On proxmox host:
pveversion - pve-manager/8.3.2/3e76eec21c4a14a7 (running kernel: 6.8.12-5-pve)
/sys/class/net/vmbr0/bridge/multicast_querier – value 1
/sys/class/net/vmbr0/bridge/multicast_snooping - value 0
/etc/network/interfaces
auto lo
iface lo inet loopback
iface enp4s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.200/24
gateway 192.168.1.1
bridge-ports enp4s0
bridge-stp off
bridge-fd 0
bridge_multicast_querier yes
iface wlp6s0 inet manual
On proxmox LXC - conf file
arch: amd64
cores: 1
features: keyctl=1,nesting=1
hostname: ubuntu
memory: 512
net0: name=eth0,bridge=vmbr0,hwaddr=BC:24:11:66:ED:78,ip=dhcp,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-112-disk-0,size=2G
swap: 512
tags: proxmox-helper-scripts
unprivileged: 1
I have also old tv box where I installed librelec (kodi) in order to watch iptv on kodi. Unfortunately libreelec does not accept a multicast UDP stream from internet provider (adresses 239.x.x.x on port 5000) so the solution is to have UDP to HTTP multicast traffic relay daemon. For that purpose I installed first on old computer with Ubuntu udpxy and I was able to watch iptv programs on tv box with installed libreelec.
Old computer, tv box and proxmox server are connceted on the same local network (mikrotik router).
Because I do not need separate hardware for udpxy I decided to install udpxy on LXC. I managed to install udpxy on LXC (ubuntu) and I was able to get udpxy status but when I tried to watch iptv chanels from tv box it or VLC did not work.
In the log of udpxy showed that udpxy could not receive any data from the specified multicast address 239.10.15.56:5000. As a result, it terminated the relay due to a timeout.
2024-12-18 22:34:31.986149 CET c(1802) read_buf: socket time-out on read
2024-12-18 22:34:31.986158 CET c(1802) read_data - EOF
2024-12-18 22:34:31.986172 CET c(1802) Exited relay loop: received=[-1], sent=[0], quit=[0]
Probably the problem is that LXC can not receive data from udp multicast stream.
Firewall rules are disabled on all 3 levels of Proxmox server.
Because my knowledge is quite low regarding networking and also Proxmox I need help to solve this. I tried with Chat GPT but without success….
Below you will find some setups on Proxmox host and lxc machine.
On proxmox host:
pveversion - pve-manager/8.3.2/3e76eec21c4a14a7 (running kernel: 6.8.12-5-pve)
/sys/class/net/vmbr0/bridge/multicast_querier – value 1
/sys/class/net/vmbr0/bridge/multicast_snooping - value 0
/etc/network/interfaces
auto lo
iface lo inet loopback
iface enp4s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.200/24
gateway 192.168.1.1
bridge-ports enp4s0
bridge-stp off
bridge-fd 0
bridge_multicast_querier yes
iface wlp6s0 inet manual
On proxmox LXC - conf file
arch: amd64
cores: 1
features: keyctl=1,nesting=1
hostname: ubuntu
memory: 512
net0: name=eth0,bridge=vmbr0,hwaddr=BC:24:11:66:ED:78,ip=dhcp,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-112-disk-0,size=2G
swap: 512
tags: proxmox-helper-scripts
unprivileged: 1