We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ca8af1 commit ba8ad7aCopy full SHA for ba8ad7a
docs/snapshotting/network-for-clones.md
@@ -113,6 +113,7 @@ have the same internal IP).
113
# Find the host egress device
114
UPSTREAM=$(ip -j route list default |jq -r '.[0].dev')
115
# anything coming from the VMs, we NAT the address
116
+ip netns exec fc0 iptables -t nat -A POSTROUTING -s 192.168.241.1/29 -o veth0 -j MASQUERADE
117
iptables -t nat -A POSTROUTING -s 10.0.0.0/30 -o $UPSTREAM -j MASQUERADE
118
# forward packets by default
119
iptables -P FORWARD ACCEPT
0 commit comments