I don't know how to forward ports correctly

What type of hardware are you using: Virtual machine
What YunoHost version are you running: 12.0.13
How are you able to access your server: The webadmin

Describe your issue

Hi,

I wanted to install this in a VirtualBox in a computer but I’ve also tried in another machine and I can’t make it work.

Ports are opened in the machine but then I ty to open them with UpNP and no luck either. I have manually set a forwarding rule for port 80 but when I rerun the diagnosis is not working either.

My first question:
As I use a VM, in my router I find two different machines. Should I forward in my VM IP or my Host IP?

Share relevant logs or error messages

https://paste.yunohost.org/raw/rutagesufe

You should forward to your server so the VM.
You should also look for a guide how to port forward for your router


Manually forwarded port. What am I doing wrong?

Maybe I am misunderstanding, but are you trying to make your YunoHost accessible to

  1. everyone on the internet,
  2. the other systems on your network or connected to the internet connection in your home,
  3. or just to a web browser running on the machine where the VirtualBox is hosted?

Which of those can you currently access it from, if any? That will help narrow down where the problem is.

  1. I can access via webadmin to my vm. Not a problem.
  2. I want to give access to everyone on the internet but first wanted to try only on my local network. i tried a nohost domain but as i could not make it work i installed it again in another machine with also virtualbox but now only in local domain. still the same problem

When you run the diagnosis it will tell you to open more ports. Port 80 is not enough to reach your server from the outside. You need port 443 also.
Share the diagnosis after you open the required ports

The results:


Opened both ports yesterday. Redone the diagnosis today, this is the result.

*The other image in next reply, I can only post 1 img per post.

Ports are not forwarded correctly to your server.
1.1. How did you create your vm?
1.2. Host,
1.3. Virtualisation app,
1.4. Network configuration of the vm?
2. Please use the share button in the diagnosis page instead of sharing an image an paste the generated link
3. What’s the local ip of your server, using ip -a

1.1 Oracle VirtualBox following the guide in docs and enabling bridge
1.2 Windows 10
1.3 VirtualBox
1.4 i dont understand this
3-


https://paste.yunohost.org/raw/oxumavofax

In the VM configuration, there is a network tab. Change the network to bridged instead NAT.

To be able to access your server from the outside you need a fully qualified domain name. You can add a yunohost subdomain like “yourdomain.nohost.me” in the domains section of the webadmin.

“.local” domain is intended to be used locally only.