summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoregon0 <ms@resonar.de>2011-02-26 18:21:05 (GMT)
committeregon0 <ms@resonar.de>2011-02-26 18:21:05 (GMT)
commit8e49752f072bb9ee3e7939ce6da65681015445c2 (patch)
tree898ccf98be551cf005d249b6070d12af819f9ead
parent0f7ace58abc0b9d234e4540e48b6fd75608febf4 (diff)
parentfafd8155f71487e19484f500f22a9a52254910f9 (diff)
Merge branch 'master' of gitorious.org:freifunk-jena-batman-config/freifunk-jena-batman-config
-rwxr-xr-xfiles/sbin/splash_sync5
1 files changed, 0 insertions, 5 deletions
diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync
index a188426..a114297 100755
--- a/files/sbin/splash_sync
+++ b/files/sbin/splash_sync
@@ -10,11 +10,9 @@ splash_check() {
config_get ip "$1" ip
config_get time "$1" time
local config="$1"
- echo Vergleich Jetzt `date +%s` gespeichert $time
let time_check=$time+$timeout
if [ $time_check -gt $current_time ]; then
# User ist noch gesplashed
- echo User ist noch gesplashed
iptables -t nat -D ffj_splash -s $ip -j ACCEPT
iptables -t nat -I ffj_splash 1 -s $ip -j ACCEPT
else
@@ -35,10 +33,7 @@ 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
-#iptables -t nat -D ffj_splash -p tcp -j DNAT --to 10.17.200.1:80
iptables -t nat -A ffj_splash -p tcp -j DNAT --to $myip:80
-#iptables -t nat -D ffj_splash -j DROP
-#iptables -t nat -A ffj_splash -j DROP
contact: Jan Huwald // Impressum