Patent ID: 8661434

Claim:
A method comprising steps performed by a machine comprising a first computer, the method comprising: running a plurality of virtual machines in the first computer, each of the plurality of virtual machines having its own operating system, the first computer being coupled to a first computer network having a first firewall; running a migrated virtual machine in the first computer, the migrated virtual machine having been migrated from a second computer in a second computer network having a second firewall to the first computer in the first computer network, the migrated virtual machine having an operating system separate from operating systems of other virtual machines in the plurality of virtual machines in the first computer, the migrated virtual machine including a security profile that indicates a port of the second firewall that is left open for use by a security module in the migrated virtual machine, the second firewall being accessible in the second computer network but not in the first computer network; and before bringing up the migrated virtual machine online in the first computer, automatically updating the security profile of the migrated virtual machine in the first computer to indicate a port of the first firewall that is left open for use by the security module in the migrated virtual machine in the first computer network to allow the security module to use the first firewall instead of the second firewall to provide a computer security function in the first computer network; wherein the security profile of the migrated virtual machine is automatically updated in the first computer by reading a configuration setting of the first firewall from a network profile that is located in the first computer network and indicates a network configuration of the first computer network.