Recently Viewed Topics
Install PVS on the NAT Gateway
Before You Begin
Follow the instructions on setting up a NAT gateway in a Google Compute Engine legacy network.
Copy the PVS installer package to the home directory in your NAT gateway instance.
$ gcloud compute copy-files /path/to/pvs-installer nat-gateway:~ --zone us-east1-b
Create a firewall rule to allow incoming connections to the PVS Web server. By default, the PVS Web server listens on port 8835.
$ gcloud compute firewall-rules create gce-network-allow-pvs-www --allow tcp:8835 --network gce-network
NAME NETWORK SRC_RANGES RULES SRC_TAGS TARGET_TAGS
gce-network-allow-pvs-www gce-network 0.0.0.0/0 tcp:8835
Log in to your NAT gateway instance.
$ gcloud compute ssh nat-gateway --zone us-east1-b
Once logged into your NAT gateway instance, install PVS.
Once PVS is installed and running on the NAT gateway, you may access the PVS web front end by navigating to https://<external IP address of nat-gateway>:8835 in your Web browser. The external IP address of nat-gateway can be found by executing gcloud compute instances describe nat-gateway and looking for networkInterfaces > accessConfigs > natIP.