(no commit message)
authorSteven Barth <steven@midlink.org>
Mon, 28 Apr 2008 08:40:18 +0000 (08:40 +0000)
committerSteven Barth <steven@midlink.org>
Mon, 28 Apr 2008 08:40:18 +0000 (08:40 +0000)
module/admin-core/contrib/init.d/luci_freifunk

index b75fcc4a78652fca5bf31a164d7c32d620255568..38779cb8ba08cc533f6e1e05e12336bbf23f1102 100644 (file)
@@ -45,7 +45,7 @@ start() {
        [ "$internal" -gt 0 -a -n "$ffdif" ] && {
                eval "$(ipcalc.sh $ffdip $ffdmask)"
                
-               iptables -t nat -A luci_freifunk_postrouting -s "$NETWORK/$PREFIX" -o "$ffif" -j ACCEPT
+               iptables -t nat -A luci_freifunk_postrouting -s "$NETWORK/$PREFIX" -o "$ffif" -j MASQUERADE
        }
        
        ### Lan to Freifunk