diff options
author | Darkeye <postfach@martinmichel.info> | 2011-03-05 23:32:21 (GMT) |
---|---|---|
committer | Darkeye <postfach@martinmichel.info> | 2011-03-05 23:32:21 (GMT) |
commit | 9f5831118c1dae4cb8522b6ea140be5597652c59 (patch) | |
tree | 4a33a40b43d1f0155c8e5fccadd8f45f7bbf608c /files/sbin/splash_sync | |
parent | 8939acc33dec5a41c9f7c6980b0e632aaf46f7a8 (diff) |
Add Splash Help Chat
Diffstat (limited to 'files/sbin/splash_sync')
-rwxr-xr-x | files/sbin/splash_sync | 9 |
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 |