added client side attack env to virtual lab and server side tcp
This commit is contained in:
1 parent
da46460491
commit
0a4e3bb714
56 files changed
+1078
-28590
No files matched your search
+29
@@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
|
||||
printf "Configuring vpn server node..\n"
|
||||
sleep 1
|
||||
|
||||
|
||||
cd ../edgers/vpn-server
|
||||
./copy_vpn_setup.sh
|
||||
|
||||
|
||||
ssh -p 22119 -i .vagrant/machines/default/virtualbox/private_key vagrant@localhost ./setup_vpn.sh
|
||||
|
||||
|
||||
|
||||
printf "\n\nConnecting client node to vpn server..\n"
|
||||
sleep 1
|
||||
|
||||
cd ../client
|
||||
./copy_client_config.sh
|
||||
|
||||
#ssh -p 22111 -i .vagrant/machines/default/virtualbox/private_key vagrant@localhost << EOF
|
||||
# ./connect.sh
|
||||
# exit
|
||||
#EOF
|
||||
|
||||
|
||||
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
|
||||
|
||||
printf "\nConfiguring gateway attacker node..\n\n"
|
||||
|
||||
sleep 1
|
||||
|
||||
|
||||
cd ../routers/gateway
|
||||
./copy_attacker_setup.sh
|
||||
|
||||
|
||||
ssh -p 22117 -i .vagrant/machines/default/virtualbox/private_key vagrant@localhost ./setup_attacker.sh
|
||||
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
|
||||
printf "\nConfiguring router1 attacker node..\n\n"
|
||||
|
||||
sleep 1
|
||||
|
||||
|
||||
cd ../routers/router1
|
||||
./copy_attacker_setup.sh
|
||||
|
||||
|
||||
ssh -p 22114 -i .vagrant/machines/default/virtualbox/private_key vagrant@localhost ./setup_attacker.sh
|
||||
|
||||
|
||||
cd ../../edgers/web-server
|
||||
./copy_dns_setup.sh
|
||||
|
||||
ssh -p 22113 -i .vagrant/machines/default/virtualbox/private_key vagrant@localhost ./install_docker.sh
|
||||
|
||||
#ssh -p 22113 -i .vagrant/machines/default/virtualbox/private_key vagrant@localhost ./start_dns.sh
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user