summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorDarkeye <postfach@martinmichel.info>2011-03-06 10:10:14 (GMT)
committerDarkeye <postfach@martinmichel.info>2011-03-06 10:10:14 (GMT)
commit78e2fd73128d3af448f8d7fffab799a4fa236010 (patch)
treeb289a7c74193782655809467e3420c3ebaa44d74 /files
parent949b9dac55f444712f7fbf71eddff0d433dd98cc (diff)
fixed bugs on splash/iptables (dport 52 / jabber)
Diffstat (limited to 'files')
-rwxr-xr-xfiles/sbin/splash_sync6
1 files changed, 3 insertions, 3 deletions
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
contact: Jan Huwald // Impressum