Thursday, 11 May 2017

Firewall-rules for google compute engine being deleted

Long story short, I'm trying to setup a secure socket connection on compute engine but everytime I add a firewall rule through

gcloud compute firewall-rules create default-allow-websockets \ --allow tcp:65080 \ --target-tags websocket \ --description "Allow websocket traffic on port 65080"

it just disappears from the rules list after a while. Target-tags are in place for my server and the https connection is ok (I'm using a self-signed certificate for tests, but I don't think this has anything to do with the problem).

I even tried creating the rule through the cloud platform console, same configuration, using the 0.0.0.0/0 ip, but got the same result. It works for about 10 minutes then the rule just vanishes.

Am I missing something here?



via Caio Vertematti

No comments:

Post a Comment