我想在嵌入式linux设备上使用Alljoyn框架。出于安全原因,有必要为该设备配置防火墙。这是用iptables完成的。
到目前为止,我所做的是:我尝试在没有防火墙的设备上运行AboutService示例,然后检查TCPDump。作为客户端,我使用了IoT Explorer for AllJoyn (Windows 10),但是AboutClient也应该运行良好。检查TCPDump与wireshark,宣布的端口是明确的,我必须打开端口9955 (alljoyn) 9956 (Alljoyn)和5353 (MDNS?!?)给UDP的。我用以下规则解决了这个问题:
$ iptables -A
我使用coturn作为TURN服务器,用于WebRTC连接中的中继。我想要实现的是基于TCP的连接和,而不是UDP。
我尝试过的是:在切换配置中,我将no-udp和no-udp-relay设置为只强制基于TCP的连接。
# Uncomment if no UDP client listener is desired.
# By default UDP client listener is always started.
#
no-udp
# Uncomment if no UDP relay endpoints are allowed.
# By default UDP relay endp