diff options
author | Darkeye <postfach@martinmichel.info> | 2011-02-26 18:45:59 (GMT) |
---|---|---|
committer | Darkeye <postfach@martinmichel.info> | 2011-02-26 18:45:59 (GMT) |
commit | 4f4ebc72012354d9cab891dc50d70e5c12fae9f1 (patch) | |
tree | 1ca39d7e5b8fd8c45342d1b8dd4f4165bdb61df6 | |
parent | 360fd27d1d0449c43a6ebb653cca655acbeaadb1 (diff) |
splash now whitelisting jabber and freifunk-jena.de
-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 |