freifunk: enable nat for tunneled uplink
This commit is contained in:
parent
8bfb061785
commit
b7456776b0
|
@ -51,6 +51,7 @@ in {
|
|||
${pkgs.iptables}/bin/iptables -t nat -F POSTROUTING
|
||||
${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING \
|
||||
\! --source 10.200.0.0/15 -o ${meshInterface} -j SNAT --to 10.200.${ddmeshAddrPart}
|
||||
${pkgs.iptables}/bin/iptables -t nat -o bat0 -A POSTROUTING -j MASQUERADE
|
||||
set -e
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in New Issue