iankelling.org
/
git
/
newns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: multiple nns could cause removal of nat iptables rule
[newns]
/
newns
diff --git
a/newns
b/newns
index a3a932511a5b326967208bcd8f8f3b707d7beb0e..894ac310b2963866328fe545b20ced78e1d2ceab 100755
(executable)
--- a/
newns
+++ b/
newns
@@
-192,7
+192,7
@@
fi
nat() {
for if in ${gateway_ifs[@]}; do
- dexec iptables -t nat $1 POSTROUTING -o $if -j MASQUERADE \
+ dexec iptables -t nat $1 POSTROUTING -
s $network.0/24 -
o $if -j MASQUERADE \
-m comment --comment "systemd network namespace nat"
done
}