summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2020-07-13 13:53:42 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-13 13:54:54 -0700
commit3fe9be138c65d7291aa30f67a55eca316945bf87 (patch)
tree505b8b1d61e8605aaa447eb258c5d74a3dcbea71
parent6994f4d5912ce9dc9233aebe9902892824904b71 (diff)
iptables: remove useless ip6tables VM rules
This rule isn't restored when the Kokoro VM is restarted, so it's not doing anything. And the problem it was meant to solved is instead addressed by https://github.com/google/gvisor/pull/3207. PiperOrigin-RevId: 321026846
-rwxr-xr-xtools/vm/ubuntu1604/25_docker.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/vm/ubuntu1604/25_docker.sh b/tools/vm/ubuntu1604/25_docker.sh
index 53d8ca588..36e55abd2 100755
--- a/tools/vm/ubuntu1604/25_docker.sh
+++ b/tools/vm/ubuntu1604/25_docker.sh
@@ -60,6 +60,3 @@ cat > /etc/docker/daemon.json <<EOF
"ipv6": true
}
EOF
-# Docker's IPv6 support is lacking and does not work the same way as IPv4. We
-# can use NAT so containers can reach the outside world.
-ip6tables -t nat -A POSTROUTING -s 2001:db8:1::/64 ! -o docker0 -j MASQUERADE