summaryrefslogtreecommitdiff
path: root/files/sbin/splash_sync
diff options
context:
space:
mode:
Diffstat (limited to 'files/sbin/splash_sync')
-rwxr-xr-xfiles/sbin/splash_sync9
1 files changed, 6 insertions, 3 deletions
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
contact: Jan Huwald // Impressum