Developing lightweight computation at the DSG edge

Commit aa9eb4c1 authored by Agustí Moll Garcia's avatar Agustí Moll Garcia
Browse files

Slash from SlashNodesDir, firewall configuration with captive portal and banners files

parent a42479a4
#!/bin/sh
cat /etc/qmp/qmp.banner >> /etc/banner
echo "Versio XXXX" >> /etc/banner
echo "----------------------------------------------------" >> /etc/banner
#!/bin/sh
echo "/usr/sbin/iptables -t nat -N captive-portal" >> /etc/firewall.user
echo "/usr/sbin/iptables -t nat -A PREROUTING -i br-lan -j captive-portal" >> /etc/firewall.user
echo "/usr/sbin/iptables -t nat -A captive-portal -p tcp --destination-port 80 -j DNAT --to-destination $(uci get network.lan.ipaddr):8888" >> /etc/firewall.user
......@@ -254,5 +254,5 @@ option SplashTimeout 690
option SplashDir "/usr/share/tinyproxy/splash/public"
option SplashContinue "/continue/"
option SplashIndex "/index.html"
option SplashNodesDir "/tmp/splash/whitelist"
option SplashNodesDir "/tmp/splash/whitelist/"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment