<p>I'm one question about networking on Google Compute Engine.</p>

<p>Is there any possibility to set default "Source tag / IP range" on your account to get this value automatically set when new rules is created?</p>

<p>For example, if I create this rule:</p>

<pre><code>gcloud beta compute firewall-rules create "test-net1-ssh-in" \
  --allow tcp:22 \
  --network "test-net1" \
  --source-ranges "0.0.0.0/0" \
  --target-tags "ssh-servers"
</code></pre>

<p>Will replaced (automatically of course) by:</p>

<pre><code>gcloud beta compute firewall-rules create "test-net1-ssh-in" \
  --allow tcp:22 \
  --network "test-net1" \
  --source-ranges "8.8.8.8/32" \
  --target-tags "ssh-servers"
</code></pre>

<p>And why this should be useful? Because we want that every rule created on the platform, custom rules or auto-generated rules (from kubernetes cluster) will allow only or testing computer IP</p>

<p>Any help will be much appreciated.</p>

<p>Thanks :)</p>

<p>This isn't an option in Google Compute Engine at the moment, but the feature that you're looking for will at least <a href="https://github.com/kubernetes/kubernetes/issues/20392" rel="nofollow">be worked on in Kubernetes soon</a>.</p>
