...
(3) Create VPN connection

5. Test plan
5.1 Create VPC, VPC tier and VM
Test cases | Check items and expected results |
|---|
Create VPC, VPC tier and VM |
|
Create VPC
| |
Create VPC tier-1
| |
Create VM-1 in VPC tier-1
| |
5.2 Setup Remote Access VPN
Setup Remote Access VPN |
|
Setup VPN on the Source NAT IP (IP-0)
| |
acquire a Public IP (IP-1)
| |
Enable remote access VPN (IP-1)
| |
Test VPN in Windows client (with PSK-1)
| Should work from VPN client to VM from VM to VPN client
|
Disable Static NAT (IP-1)
| |
Release IP (IP-1)
| |
Disable remote access VPN on (IP-1)
| |
Enable remote access VPN (IP-1) again
| |
Test VPN in Windows client (with PSK-2)
| Should work from VPN client to VM from VM to VPN client
|
Acquire Public IP (IP-2) and Enable VPN
| |
Disable remote access VPN on (IP-1)
| |
Disable Static NAT (IP-1)
| |
Acquire Public IP (IP-3) and Enable VPN
| |
Test VPN in Windows client (with PSK-3)
| Should work from VPN client to VM from VM to VPN client
|
Disable remote access VPN on (IP-3)
| |
Disable Static NAT (IP-3)
| |
5.3 Setup Site-to-Site VPN
Setup Site-to-Site VPN |
|
Create VPN gateway
| |
(Optional) If there is no VPN server to test Create another VPC Create VPC tier and VPC VM Create VPN gateway Create VPN customer gateway (in step 1) Create VPN connection
| |
Create VPN customer gateway (in step 2)
| |
Create VPN connection
| |
Check state of VPN connection
| |
Reset VPN connection (in VR of VPC in step 2) ipsec down vpn-xxxxxx ipsec up vpn-xxxxxx
| VPN connection is Established ping/ssh work from remote to local tier-1 ping/ssh work from local tier-1 to remote
|
Reset VPN connection (in VR of VPC in step 1) ipsec down vpn-xxxxxx ipsec up vpn-xxxxxx
| |
Delete VPN connection
| |
Disable Static NAT
| |
Release IP
| |
Delete VPN gateway
| |
Disable Static NAT (IP-4)
| |
5.4 Setup both Remote Access VPN and S2S VPN
Setup both Remote Access VPN and S2S VPN |
|
Acquire IP and Enable Remote Access VPN
| |
Create VPN gateway
| |
Create VPN connection
| |
Test VPN in Windows client (with PSK-4)
| Should work from VPN client to VM from VM to VPN client
|
Test Site-to-Site VPN connection
| If not Established Should work from remote to tier-1 from tier-1 to remote
|
Remove Site-to-Site VPN connection
| |
Disable Remote Access VPN
| |
Delete VPN gateway
| |
Create VPN gateway
| |
Create VPN connection
| |
Enable Remote Access VPN
| |
Test Site-to-Site VPN connection
| If not Established Should work from remote to tier-1 from tier-1 to remote
|
Test VPN in Windows client (with PSK-4)
| Should work from VPN client to VM from VM to VPN client
|
|
|
5.5 Test VPC tier creation
Test VPC tier creation |
|
Create VPC tier-2
| |
Create VM-2 in VPC tier-2
| |
Test Remote access VPN client to tier-2
| |
Test Site-to-Site VPN to tier-2
| Should work from remote to tier-2 from tier-2 to remote
|
Create VPC tier-3
| |
Create VM-3 in VPC tier-3
| |
Test Remote access VPN client to tier-3
| |
Test Site-to-Site VPN to tier-3
| Should work from remote to tier-3 from tier-3 to remote
|
5.6 Test VPC tier deletion (first tier)
Test VPC tier deletion (first tier) |
|
Expunge VM-1
| |
Remove VPC tier-1
| Should succeed Backend Disable static NAT to guest NIC/IP of tier-1 Enable static NAT to guest NIC/IP of tier-2 Delete Static routes for multiple CIDRs (next hop: guest IP of VR of tier-1) Add Static routes for multiple CIDRs (next hop: guest IP of VR of tier-2)
|
Check VPC VR
| VPC VR: use guest NIC of tier-2 as default route l2tp.conf uses the guest IP of tier-2 vpn-xxxxxx uses the guest IP of tier-2
|
Test Remote access VPN client to tier-2 and tier-3
| |
Test Site-to-Site VPN to tier-2 and tier-3
| |
5.7 Test VPC VR reboot
Test VPC VR reboot |
|
Reboot router
| |
Check VPC VR
| VPC VR: use guest NIC of tier-2 as default route l2tp.conf uses the guest IP of tier-2 vpn-xxxxxx uses the guest IP of tier-2
|
Test Remote access VPN client to tier-2 and tier-3
| |
Test Site-to-Site VPN to tier-2 and tier-3
| |
5.8 Test VPC restart with cleanup
Test VPC restart with cleanup |
|
Restart VPN with cleanup
| |
Check VPC VR
| VPC VR: use guest NIC of tier-2 as default route l2tp.conf uses the guest IP of tier-2 vpn-xxxxxx uses the guest IP of tier-2
|
Test Remote access VPN client to tier-2 and tier-3
| |
Test Site-to-Site VPN to tier-2 and tier-3
| |
5.9 Test VPC tier deletion (from last tier)
Test VPC tier deletion (from last tier) |
|
Expunge VM-3
| |
Remove VPC tier-3
| |
Expunge VM-2
| |
Remove VPC tier-2
| |
Remove VPC
| |
Disable Remote access VPN
| |
Remove VPC
| |
Remove VPN connection
| |
Remove VPC
| |
Remove VPC gateway
| |
Remove VPC
| |