You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
439 B

  1. #!/bin/bash
  2. #
  3. printf "Configuring vpn server node..\n"
  4. sleep 1
  5. cd ../edgers/vpn-server
  6. ./copy_vpn_setup.sh
  7. ssh -p 22119 -i .vagrant/machines/default/virtualbox/private_key vagrant@localhost ./setup_vpn.sh
  8. printf "\n\nConnecting client node to vpn server..\n"
  9. sleep 1
  10. cd ../client
  11. ./copy_client_config.sh
  12. #ssh -p 22111 -i .vagrant/machines/default/virtualbox/private_key vagrant@localhost << EOF
  13. # ./connect.sh
  14. # exit
  15. #EOF