diff options
author | egon_ffj <egon@freifunk-jena.de> | 2011-02-26 19:37:36 (GMT) |
---|---|---|
committer | egon_ffj <egon@freifunk-jena.de> | 2011-02-26 19:37:36 (GMT) |
commit | 92934b79eb9db33cbe28e43574e2f459097e3efd (patch) | |
tree | 40e4c36c2caf327f0fd75604accfb31020b53514 | |
parent | 5cd7c8d6c65f4ed2ad0260b9db96fc54d0bb9600 (diff) | |
parent | e8e0dd7740579b8fd66a45cc716617daad122a46 (diff) |
Merge branch 'master' of gitorious.org:freifunk-jena-batman-config/freifunk-jena-batman-config
-rwxr-xr-x | files/sbin/splash_sync | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/files/sbin/splash_sync b/files/sbin/splash_sync index a114297..b8cd219 100755 --- a/files/sbin/splash_sync +++ b/files/sbin/splash_sync @@ -33,6 +33,13 @@ 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 +#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 -p tcp -j DNAT --to $myip:80 |