Hello,
My 1st post ever on this forum, so hopefully I'm doing it right.
I'm using wifibox in FreeBSD to improve my WiFi network speeds by a lot. Now I'd very much like to use minidlna as well to serve media on my home network.
However, currently multicast traffic does not traverse the wifibox, I can get non-multicast services to work.
I've done some extensive reading, been messing around with iptables inside the wifibox (though that is not really my expertise.)
I tried with the below configuration, but that didn't seem to work. (I've commented the lines I think should be used for multicast).
I also found an article telling me I should perhaps increase the TTL for the packets so it will live though the router hop, but I wouldn't now how to do that.
Also I'm not even sure that the below configuration is correct, and would indeed pass the packets as I hope it would. Would really appreciate some help on this.
My 1st post ever on this forum, so hopefully I'm doing it right.
I'm using wifibox in FreeBSD to improve my WiFi network speeds by a lot. Now I'd very much like to use minidlna as well to serve media on my home network.
However, currently multicast traffic does not traverse the wifibox, I can get non-multicast services to work.
I've done some extensive reading, been messing around with iptables inside the wifibox (though that is not really my expertise.)
I tried with the below configuration, but that didn't seem to work. (I've commented the lines I think should be used for multicast).
I also found an article telling me I should perhaps increase the TTL for the packets so it will live though the router hop, but I wouldn't now how to do that.
Also I'm not even sure that the below configuration is correct, and would indeed pass the packets as I hope it would. Would really appreciate some help on this.
Code:
*filter
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
[0:0] -A INPUT -p udp -m multiport --sports 32768:61000 -m multiport --dports 32768:61000 -j ACCEPT
[0:0] -A INPUT -p udp --dport 1900 -j ACCEPT
[0:0] -A INPUT -p tcp --dport 8200 -j ACCEPT
#[0:0] -A INPUT -s 224.0.0.0/4 -j ACCEPT
#[0:0] -A OUTPUT -s 224.0.0.0/4 -j ACCEPT
[0:0] -A OUTPUT -p udp -m multiport --sports 32768:61000 -m multiport --dports 32768:61000 -j ACCEPT
[0:0] -A OUTPUT -p tcp -m multiport --dports 8008:8009 -j ACCEPT
[0:0] -A OUTPUT -p udp --dport 1900 -j ACCEPT
[0:0] -A OUTPUT -p tcp --dport 8200 -j ACCEPT
[0:0] -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
[0:0] -A FORWARD -i eth0 -o wlan0 -j ACCEPT
#[0:0] -A FORWARD -s 224.0.0.0/4 -j ACCEPT