Skip to content

Instantly share code, notes, and snippets.

@ibenrodriguez
Created October 6, 2019 00:36
Show Gist options
  • Save ibenrodriguez/68437467c3938cb27d6e29b052cc86e6 to your computer and use it in GitHub Desktop.
Save ibenrodriguez/68437467c3938cb27d6e29b052cc86e6 to your computer and use it in GitHub Desktop.
cat vpn_check.log
cat vpn_check.log
Testing connection from vm1a-m17u to vm1b-m17u
ssh -o 'StrictHostKeyChecking no' -i ~/ssh_private_key auser@10.241.2.100 hostname
PASS: Hostname on vm1b-m17u(IP:10.241.2.100): matches vm1b-m17u
curl http://10.241.2.100:80
PASS: NGINX running on vm1b-m17u(IP:10.241.2.100 and can be accessed at http://34.89.70.9:80
Testing connection from vm1a-m17u to vm1c-m17u
ssh -o 'StrictHostKeyChecking no' -i ~/ssh_private_key auser@10.241.1.200 hostname
PASS: Hostname on vm1c-m17u(IP:10.241.1.200): matches vm1c-m17u
curl http://10.241.1.200:80
PASS: NGINX running on vm1c-m17u(IP:10.241.1.200 and can be accessed at http://34.89.49.17:80
Testing connection from vm1a-m17u to vm1d-m17u
ssh -o 'StrictHostKeyChecking no' -i ~/ssh_private_key auser@10.241.2.200 hostname
PASS: Hostname on vm1d-m17u(IP:10.241.2.200): matches vm1d-m17u
curl http://10.241.2.200:80
PASS: NGINX running on vm1d-m17u(IP:10.241.2.200 and can be accessed at http://34.89.118.160:80
Testing connection from vm1a-m17u to vm2a-m17u
ssh -o 'StrictHostKeyChecking no' -i ~/ssh_private_key auser@10.242.1.100 hostname
PASS: Hostname on vm2a-m17u(IP:10.242.1.100): matches vm2a-m17u
curl http://10.242.1.100:80
PASS: NGINX running on vm2a-m17u(IP:10.242.1.100 and can be accessed at http://3.10.120.15:80
Testing connection from vm1a-m17u to vm2b-m17u
ssh -o 'StrictHostKeyChecking no' -i ~/ssh_private_key auser@10.242.2.100 hostname
PASS: Hostname on vm2b-m17u(IP:10.242.2.100): matches vm2b-m17u
curl http://10.242.2.100:80
PASS: NGINX running on vm2b-m17u(IP:10.242.2.100 and can be accessed at http://3.9.75.47:80
Testing connection from vm1a-m17u to vm2c-m17u
ssh -o 'StrictHostKeyChecking no' -i ~/ssh_private_key auser@10.242.1.200 hostname
PASS: Hostname on vm2c-m17u(IP:10.242.1.200): matches vm2c-m17u
curl http://10.242.1.200:80
PASS: NGINX running on vm2c-m17u(IP:10.242.1.200 and can be accessed at http://3.10.120.137:80
Testing connection from vm1a-m17u to vm2d-m17u
ssh -o 'StrictHostKeyChecking no' -i ~/ssh_private_key auser@10.242.2.200 hostname
PASS: Hostname on vm2d-m17u(IP:10.242.2.200): matches vm2d-m17u
curl http://10.242.2.200:80
PASS: NGINX running on vm2d-m17u(IP:10.242.2.200 and can be accessed at http://3.10.110.117:80
Testing connection from vm1a-m17u to vm3a-m17u
ssh -o 'StrictHostKeyChecking no' -i ~/ssh_private_key auser@10.243.1.5 hostname
PASS: Hostname on vm3a-m17u(IP:10.243.1.5): matches vm3a-m17u
curl http://10.243.1.5:80
PASS: NGINX running on vm3a-m17u(IP:10.243.1.5 and can be accessed at http://13.79.159.177:80
Testing connection from vm1a-m17u to vm3b-m17u
ssh -o 'StrictHostKeyChecking no' -i ~/ssh_private_key auser@10.243.2.5 hostname
PASS: Hostname on vm3b-m17u(IP:10.243.2.5): matches vm3b-m17u
curl http://10.243.2.5:80
PASS: NGINX running on vm3b-m17u(IP:10.243.2.5 and can be accessed at http://40.85.103.95:80
Testing connection from vm1a-m17u to vm3c-m17u
ssh -o 'StrictHostKeyChecking no' -i ~/ssh_private_key auser@10.243.1.4 hostname
PASS: Hostname on vm3c-m17u(IP:10.243.1.4): matches vm3c-m17u
curl http://10.243.1.4:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment