From: Daniel Golle Date: Wed, 28 Aug 2013 15:59:05 +0000 (+0200) Subject: IPv6 SmartGW doesn't require IPv6 NAT support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a9f43d29e9ec510a035cf23af69d0a92482db0aa;p=feed%2Frouting.git IPv6 SmartGW doesn't require IPv6 NAT support --- diff --git a/olsrd/files/olsrd.init b/olsrd/files/olsrd.init index 21e8215..c8f1df5 100644 --- a/olsrd/files/olsrd.init +++ b/olsrd/files/olsrd.init @@ -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