projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46ea4de
)
IPv6 SmartGW doesn't require IPv6 NAT support
author
Daniel Golle
<dgolle@allnet.de>
Wed, 28 Aug 2013 15:59:05 +0000
(17:59 +0200)
committer
Saverio Proto
<zioproto@gmail.com>
Tue, 11 Feb 2014 18:08:20 +0000
(19:08 +0100)
olsrd/files/olsrd.init
patch
|
blob
|
history
diff --git
a/olsrd/files/olsrd.init
b/olsrd/files/olsrd.init
index 21e8215ffffaae07f0f9e246d9beee123d071cd4..c8f1df566c1b1b975fbf717d3d6f615c3444709b 100644
(file)
--- 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