From fdd3c366a096d5691488ed83d61fbe561fae5cdc Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sat, 26 Feb 2011 19:45:59 +0100 Subject: splash now whitelisting jabber and freifunk-jena.de diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync index a114297..b8cd219 100755 --- a/files/sbin/splash_sync +++ b/files/sbin/splash_sync @@ -33,6 +33,13 @@ 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 +#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 -p tcp -j DNAT --to $myip:80 -- cgit v0.10.1