VPN Flashcards

1
Q

What is a VPN?

A

It allows secure communication between Google network and your external network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the three components that you set up when setting up a VPN?

A
  1. Gateway
  2. Tunnels
  3. Routing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What do you set up in the Gateway section of VPN?

A

The GCP side of the VPN

  1. Network
  2. Region containing the network
  3. static IP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What do you set up in the tunnels section of the VPN?

A
The other (non GCP) endpoint of the VPN
Specify shared secret
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What routing options do you have when setting up a VPN?

A
  1. Dynamic - uses BGP to learn routes in your network
  2. Route Based - requires IP range of remote network
  3. Policy Based - require remote IP ranges, local sub-networks and local IP ranges
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you create a VPN via the shell?

A

gcloud compute target-vpn-gateways create
gcloud compute forwarding-rules create
gcloud compute vpn-tunnels create

How well did you know this?
1
Not at all
2
3
4
5
Perfectly