Score:0

Port forwarding multipass instance on windows 10 (hyper-v manager)

pk flag

I'm currently using Multipass on my Windows 10 machine and I'm having trouble setting up virtual switch for my Multipass instance. I want to create a mail server and send mails over the internet. Can someone guide me on how to properly configure port forwarding for Multipass on Windows 10?

I created a multipass instance multipass launch lts --name server-web --cpus 1 --memory 1GB --disk 10GB

I created a new virtual switch in hyper-v manager (IntelligentSofts vSwitch) ss virtual switch

I enter in the settings of my virtual machine and change the network adapter to my virtual switch (IntelligentSofts vSwitch) ss settings instance

The problem is that everytime i do this, i cant access my multipass instance, for example: multipass shell server-mail give me this error

"shell failed: ssh connection failed: 'Timeout connecting to server-mail.mshome.net" error in terminal

This is a ss from my internet configuration ss from terminal ss ipconfig /all

In the end i want to use the virtual switch, use the MAC adress of my virtual machine, access my router settings, DHCP Static Lease the MAC adress to have a Static IP and then Port forward the static IP on port 25.

I also tried to assign the network at the beginning, when i launch my multipass instance. multipass launch lts --network "IntelligentSofts vSwitch" --name server-web --cpus 1 --memory 1GB --disk 10GB, i get the mac adress, set a stati lease on router and then port forward the ip, but it dosent work. This is what i got: multipass info server-mail. How i make it to use 192.168.1.112 (the IP that i leased from my router settings)

I would love to get a solution for this and also a link to some documentation.

Thank You!

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.