Port 4500
for enabling the VM to listen to IKE messages
Port 5001
is to enable iperf, network-testing tool, to send and acknowledge TCP and UDP
packets.
Completion of the above steps launches the Virtual Machine accessible through SSH via port
22.
For instance through SSH,
ssh –i keypair.pem root@
Enterprises benefit from VPN in reducing the cost, increasing the stability, and increasing
the productivity, without impairing the security [51].
46
A
PPENDIX
E
OPENSTACK CLIs CUSTOMIZATION SCRIPTS
Customization Script for Launching VM with one NIC
#cloud-config
#
# This script automatically permorm some needed actions for the VM configuration
# You can modify it, but be careful not to change network configuration.
write_files:
- encoding: b64
content: |
YXV0byBsbyAKaWZhY2UgbG8gaW5ldCBsb29wYmFjawogYXV0byBldGgwIAogaWZh
Y2UgZXRoMCAgaW5ldCBkaGNwCg==
path: /etc/network/interfaces
- content: |
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO="dhcp"
TYPE="Ethernet"
path: /etc/sysconfig/network-scripts/ifcfg-eth0
permissions: '460'
bootcmd:
- ifdown eth0
- ifup eth0
# Start DEM monitoring
runcmd:
- curl -L -s -k https://xifisvn.esl.eng.it/wp3/software/DEM_Adapter/install.sh | bash
# FIWARE Support
fiware-support:
sshkey:
gpgkey: |
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
-----END PGP PUBLIC KEY BLOCK-----
Customization Script for Launching VM with two NICs
#cloud-config
#
# This script automatically permorm some needed actions for the VM configuration
47
# You can modify it, but be careful not to change network configuration.
write_files:
- encoding: b64
content: |
YXV0byBsbyAKaWZhY2UgbG8gaW5ldCBsb29wYmFjawogYXV0byBldGgwIAogaWZh
Y2UgZXRoMCAgaW5ldCBkaGNwCiBhdXRvIGV0aDEgCiBpZmFjZSBldGgxICBpbmV0
IGRoY3AK
path: /etc/network/interfaces
- content: |
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO="dhcp"
TYPE="Ethernet"
path: /etc/sysconfig/network-scripts/ifcfg-eth0
permissions: '460'
- content: |
DEVICE="eth1"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO="dhcp"
TYPE="Ethernet"
path: /etc/sysconfig/network-scripts/ifcfg-eth1
permissions: '460'
bootcmd:
- ifdown eth0
- ifup eth0
- ifdown eth1
- ifup eth1
# Start DEM monitoring
runcmd:
- curl -L -s -k https://xifisvn.esl.eng.it/wp3/software/DEM_Adapter/install.sh | bash
# FIWARE Support
fiware-support:
sshkey:
gpgkey: |
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
-----END PGP PUBLIC KEY BLOCK-----
Do'stlaringiz bilan baham: |