VBox nat下端口映射

C:\Program Files\Oracle\VirtualBox

 

VBoxManage setextradata "cenots" "VBoxInternal/Devices/e1000/0/LUN#0/Config/ttser_nm/Protocol" TCP

 

VBoxManage setextradata "cenots" "VBoxInternal/Devices/e1000/0/LUN#0/Config/ttser_nm/GuestPort" 22

 

VBoxManage setextradata "cenots" "VBoxInternal/Devices/e1000/0/LUN#0/Config/ttser_nm/HostPort"1234

你可能感兴趣的:(端口映射)