Port forwarding test method, device and equipment in virtualization environment and medium
The invention discloses a port forwarding test method, device and equipment in a virtualization environment and a medium. The method comprises the following steps: configuring a network of a virtual machine under an internal network to enable the virtual machine to communicate with a host under an e...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a port forwarding test method, device and equipment in a virtualization environment and a medium. The method comprises the following steps: configuring a network of a virtual machine under an internal network to enable the virtual machine to communicate with a host under an external network; running a script on a virtual machine under the internal network to create a simulated TCP service for a custom port; adding a forwarding rule for the custom port on a host where a virtual machine in the internal network is located; initiating a connection request to the custom port through the simulated TCP service by using a host under an external network; and obtaining a response result of the virtual machine under the internal network to the connection request, and determining whether the custom port is normal based on the response result. According to the scheme of the invention, the simulated TCP service of any custom port is realized by running the script, the security of the port can be det |
---|