modules/freifunk: Set uhttpd.main.rfc1918_filter=0 via uci-defaults/freifunk to allow connections from rfc1918 ip space to public ips
This commit is contained in:
parent
c3357a031c
commit
32aec7a4f3
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ "${4%%/*}" = "branches" ]; then
|
if [ "${4%%/*}" = "branches" ]; then
|
||||||
variant="LuCI ${4##*[-/]} Branch"
|
variant="LuCI ${4##*[-/]} Branch"
|
||||||
elif [ "${4%%/*}" = "tags" ]; then
|
elif [ "${4%%/*}" = "tags" ]; then
|
||||||
|
|
2
modules/freifunk/root/etc/uci-defaults/freifunk
Normal file
2
modules/freifunk/root/etc/uci-defaults/freifunk
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
uci set uhttpd.main.rfc1918_filter=0
|
||||||
|
uci commit uhttpd
|
Loading…
Reference in a new issue