IPv6 SmartGW doesn't require IPv6 NAT support

This commit is contained in:
Daniel Golle 2013-08-28 17:59:05 +02:00 committed by Saverio Proto
parent 46ea4de211
commit a9f43d29e9
1 changed files with 1 additions and 1 deletions

View File

@ -732,9 +732,9 @@ olsrd_setup_smartgw_rules() {
$IP6T -I input_rule -i $IFACE -p 4 -j ACCEPT
done
else
$IP4T -t nat -I postrouting_rule -o tnl_+ -j MASQUERADE
for IPT in $IP4T $IP6T; do
$IPT -I forwarding_rule -o tnl_+ -j ACCEPT
$IPT -t nat -I postrouting_rule -o tnl_+ -j MASQUERADE
if [ "$nowan"="0" ]; then
for IFACE in $wanifnames; do
$IPT -A forwarding_rule -i tunl0 -o $IFACE -j ACCEPT