![]() Nowadays it is more and more common that ISPs doesn't even give you a public (globally routable) IP address. If you want all HTTP requests that addressed to your router be served by your laptop behind it, you have to add a port-forward rule in your router's menu to the laptop's IP address and port 80 (standard HTTP port), or port 443 for HTTPS. If you do a request from outside to your public IP address, you actually adressing your router. ![]() If you do a request to a remote server from LAN, from any device, the remote will see that the request originated by your router. Your home router (or most of the wifi routers) you connect to uses NAT to "hide" the subnet behind it and allow your multiple devices communicate on the single global IP address you get from the ISP. I am not familiar with MAC OS so I can not tell you, how to configure the firewall. You can check this using a different machine on the same subnet/different subnet, but still behind your home router. Your OS may have a firewall configured and blocking incoming requests. As for the firewall, you'll need a NAT statement and a firewall rule for the VM and for the traffic you want to "forward" to the VM from the outside.There may be three blocking hops in the line, starting from your computer: You probably don't need to make any changes on your switch, but again, we don't know your network so only you can answer that. Additionally, you probably don't need to place the VM in a different subnet, but only you know how your network is configured so we can't answer that for you.Īs we are talking about a VM off of the host, what changes need to be You do this the same way you do in a physical machine. You need to assign the VM a unique ip address. How do IĪssign a unique IP? Furthermore, I presume that I should place the VM The IP address of the VM client is the same as the host. You need to create a Hyper-V Virtual Switch with the 1GB NIC. As such, what changes need to be made and where?ĭid you create a Hyper-V Virtual Switch with the 1GB NIC? If not, that's why you don't see it. I just need port 9000 traffic to flow (route) to the VM and only to the VM. I guess that I do not need any unique IP or anything special. What changes do I need to do, if any, on the VM or the host to get HTTP/HTTPS REST communication flowing based on that port to that VM? The question thanks to joeqwerty should have been phrased as such: I am leaving the original question for a paper trail of sorts. Here is the RRAS, not that I really configured anything yet. How do I assign a unique IP? Furthermore, I presume that I should place the VM on a separate sub-net.Īs we are talking about a VM off of the host, what changes need to be made on the switch and on the firewall? I only see the 10 GB connection in the drop down list, not the 1G. I also need to open up the appropriate port. ![]() ![]() Yes, I know that I need to configure one of the interfaces as a NAT in RRAS, which I did (1 GB). I installed RRAS on the host, however the accepted answer was a bit confusing about what to do next. We have a static IP and only need one port open to our VM. Our internal network should not be open or accessible, out host server, or any other virtual computer running on the host. Between the switch and the outside world is our firewall and the router. The host computer has 2 network connections to our main switch: a dual bonded 10G connection and a dual bonded 1G connection. I created a Windows Server 2016 virtual server using Hyper-V Manager on the host.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |