From c95dd20107ab288d1e18d02417e7e7d81d0d3186 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sun, 6 Mar 2011 00:32:21 +0100 Subject: Add Splash Help Chat diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync index b8cd219..52a37b7 100755 --- a/files/sbin/splash_sync +++ b/files/sbin/splash_sync @@ -33,13 +33,16 @@ iptables -t nat -X ffj_splash iptables -t nat -N ffj_splash iptables -t nat -I zone_mesh_prerouting 1 -p tcp -j ffj_splash config_foreach splash_check user +#DNS Whitelisting +iptables -t nat -A ffj_splash --destination-port 53 -j ACCEPT #Jabber Whitelisting iptables -t nat -A ffj_splash --destination-port 5222 -j ACCEPT iptables -t nat -A ffj_splash --destination-port 5223 -j ACCEPT #Freifunk-Jena Whitelisting -iptables -t nat -A ffj_splash -d freifunk-jena -j ACCEPT -iptables -t nat -A ffj_splash -d www.freifunk-jena -j ACCEPT - +iptables -t nat -A ffj_splash -d freifunk-jena.de -j ACCEPT +iptables -t nat -A ffj_splash -d www.freifunk-jena.de -j ACCEPT +#Jappix Whitelisting +iptables -t nat -A ffj_splash -d static.jappix.com -j ACCEPT iptables -t nat -A ffj_splash -p tcp -j DNAT --to $myip:80 diff --git a/files/www/splash.html b/files/www/splash.html index b6abfc2..eb3af30 100644 --- a/files/www/splash.html +++ b/files/www/splash.html @@ -7,6 +7,15 @@ xml:lang="en" lang="en"> + + + + Freifunk Jena -- cgit v0.10.1