(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 b75fcc4..38779cb 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