summaryrefslogtreecommitdiff
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)
commit1c5eeb510ae9c6f2689b2cd1b04d4d4f7ad49efa (patch)
treeb289a7c74193782655809467e3420c3ebaa44d74
parentbb65017ec486a21839a85af20865014deeb34a54 (diff)
fixed bugs on splash/iptables (dport 52 / jabber)
-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