From 78e2fd73128d3af448f8d7fffab799a4fa236010 Mon Sep 17 00:00:00 2001 From: Darkeye Date: Sun, 6 Mar 2011 11:10:14 +0100 Subject: fixed bugs on splash/iptables (dport 52 / jabber) diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync index 5d2c6be..70723b9 100755 --- a/files/sbin/splash_sync +++ b/files/sbin/splash_sync @@ -34,10 +34,10 @@ 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 +iptables -t nat -p udp -A ffj_splash --dport 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 +iptables -t nat -p tcp -A ffj_splash --dport 5222 -j ACCEPT +iptables -t nat -p tcp -A ffj_splash --dport 5223 -j ACCEPT #Free Wavez in Freifunk iptables -t nat -A ffj_splash -s 10.0.0.0/8 -d 10.0.0.0/8 -j ACCEPT #Freifunk-Jena Whitelisting -- cgit v0.10.1