While packaging minidlna in a Docker container, it became clear that IP Broadcasts (required by minidlna) are not bridged by default in Ubuntu 14.04.
Adding the following file (10-fix-bridge.conf) with the following to /etc/sysctl.d/ fixes this:
# allows broadcasts to reach Docker containers
#net.bridge.bridge-nf-call-arptables = 1
#net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 0
First, my ISP doesn’t support IPv6 so Linux works but DNS name lookups take forever. This helps.
Create a file named 10-no-ipv6.conf in /etc/sysctl.d/ with the following:
# No IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
My ISP (ding, dong) is stupid, so I need to disable IPv6.
sudo vim /etc/sysctl.conf
Add these four lines:
# No IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Recent Comments