diff options
author | Steven Barth <steven@midlink.org> | 2008-04-28 07:15:16 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-04-28 07:15:16 +0000 |
commit | 5266a8c01c29bd371afa32dbb1354e0ea3e76045 (patch) | |
tree | 7dbc391bf09c9804325683ce6f2a3aca5fd5fb52 /contrib/package | |
parent | beea3eae0f63a4ffa50a38a92273db43df46432d (diff) |
* Corrected Freifunk NAT rules
Diffstat (limited to 'contrib/package')
-rw-r--r-- | contrib/package/ffluci-splash/src/luci_splash.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/package/ffluci-splash/src/luci_splash.init b/contrib/package/ffluci-splash/src/luci_splash.init index bce432ed3..20f7865fd 100644 --- a/contrib/package/ffluci-splash/src/luci_splash.init +++ b/contrib/package/ffluci-splash/src/luci_splash.init @@ -19,8 +19,8 @@ iface_add() { eval "$(ipcalc.sh $ipaddr $netmask)" - iptables -t nat -A luci_splash -i "$iface" -s "$IP/$PREFIX" -j luci_splash_portal - iptables -t nat -A luci_splash_portal -i "$iface" -s "$IP/$PREFIX" -d "$ipaddr" -p tcp -m multiport --dports 22,80,443 -j RETURN + iptables -t nat -A luci_splash -i "$iface" -s "$NETWORK/$PREFIX" -j luci_splash_portal + iptables -t nat -A luci_splash_portal -i "$iface" -s "$NETWORK/$PREFIX" -d "$ipaddr" -p tcp -m multiport --dports 22,80,443 -j RETURN } blacklist_add() { |