چگونه هاست NAT شده روی VM را در شبکه داخلی روی دیگر کامپیوترها ببینیم؟
چهارشنبه, ۲۰ ارديبهشت ۱۴۰۲، ۱۰:۵۲ ق.ظ
فرض کنیم هاستی روی یک VM در برنامه vmware workstation قرار داده ایم اگر کارت شبکه bridge باشد در شبکه قابل دیدن است اما اگر کارت شبکه آن NAT باشد باید پورت فوروارد کنیم بصورت زیر:
In the VMware Workstation toolbar, click Edit > Virtual Network Editor. Select the vmnet NAT adapter which you have configured on the particular virtual machine. Note: vmnet8 is the default NAT adapter. Select the NAT Settings option. The NAT settings dialog appears. Click Add. The Map Incoming Port dialog appears. Enter these details: The host port – An unused port. For example, you can use port 443 The virtual machine port – The port number of the Web server running inside the virtual machine (443) The vm IP address – The IP address of the virtual machine that you want to connect to the NAT connection, (192.168.100.7) Set the type as TCP Add a description.
یعنی ما پورت ۴۴۳ کاظم را روی هاست فوروارد می کنیم
سپس روی هر کامپیوتر که آدرس زیر زده شود هاست باز می شود
https://192.168.100.7
۰۲/۰۲/۲۰