54
56
DEFAULT_PORTS = [("tcp", 80), ("tcp", 22), ("udp", 1194), ("tcp", 443)]
61
61
_confirm_rule("PREROUTING", "-t nat -s 0.0.0.0/0 "
62
62
"-d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT "
63
63
"--to-destination %s:%s" % (FLAGS.cc_host, FLAGS.cc_port))
65
68
# NOTE(devcamcar): Cloud public SNAT entries and the default
66
69
# SNAT rule for outbound traffic.
67
70
_confirm_rule("POSTROUTING", "-t nat -s %s "