Como configurar o MediaMonkey para DLNA/UPnP pela Internet

O UPnP/DLNA foi projetado principalmente para uso em uma rede local, mas pode ser usado pela Internet se configurado adequadamente de uma das duas maneiras:

  1. Ao usar uma VPN para simular uma rede local
  2. Configurando o encaminhamento de porta para o servidor e configurando manualmente o cliente com o endereço IP e a porta do servidor.

Usando uma VPN

VPNs têm a vantagem de proteger o tráfego entre o cliente DLNA e o servidor e permitir que o DLNA funcione sem configuração adicional. A desvantagem é que pode ser complexo configurar uma VPN (além do escopo deste artigo) e pode incorrer em uma penalidade de desempenho.

A principal coisa a ter em mente ao usar uma VPN é que a VPN deve ser configurada para permitir que o servidor fique visível na rede para que o servidor UPnP seja detectável. Se você fez isso e o MediaMonkey Server não é detectável, tente testar o servidor com um cliente UPnP local.

Acesso não criptografado usando encaminhamento de porta

Se você não tiver uma VPN, você pode configurar UPnP/DLNA para ser usado pela internet. Não recomendamos fazer isso, pois não há controle de acesso. Qualquer um que consiga encontrar seu Media Server pode acessá-lo. Para fazer isso de qualquer maneira, você precisará:

  1. Configure seu MediaMonkey UPnP Server para se conectar à internet: com o encaminhamento de porta pelo roteador, você pode tornar o Server acessível fora da rede local. Esteja ciente de que não há segurança impedindo que outra pessoa se conecte ao Server que é tornado acessível pelo encaminhamento de porta. Veja a documentação online do seu roteador sobre como configurar o encaminhamento de porta para seu modelo de roteador específico. A porta que o MediaMonkey usa para seu DLNA Server é visível via Tools > Options > Media Sharing do Main Menu por servidor. Você vai querer configurar o encaminhamento de porta para essa porta para os protocolos UDP e TCP para o endereço IP do servidor.
  2. Configure seu cliente UPnP MediaMonkey adicionando manualmente o servidor DLNA (já que os servidores DLNA remotos não são detectados automaticamente):
    1. No MediaMonkey 5+, vá até o nó Dispositivos e Serviços na Árvore de Mídia e use o ícone + ao lado da seção Servidores de Mídia para adicionar manualmente um Servidor DLNA.
    2. No MediaMonkey 4, clique com o botão direito do mouse no nó Servidores de mídia na Árvore de mídia e use Adicionar servidor de mídia
    3. Você precisará de:
      1. Saiba se você pode se conectar via https ou somente via http (o MediaMonkey só suporta http)
      2. O IP da rede em que o servidor DLNA está, como você está saindo da rede, esse geralmente é o IP público da rede, não o IP do servidor DLNA (ou do PC em que ele é executado)
      3. A porta usada para encaminhamento de porta no roteador, no MediaMonkey isso é definido em Ferramentas > Opções > Compartilhamento de mídia no menu principal por servidor.
      4. O nome do arquivo do documento de descrição do dispositivo, MediaMonkey, usa DeviceDescription.xml para isso.
    4. Você pode usar isso em qualquer navegador para confirmar se o servidor DLNA está acessível (por exemplo, http://192.168.1.2:4000/DeviceDescription.xml).

Se você tiver problemas para acessar o MediaMonkey Media Server, consulte: MediaMonkey UPnP/DLNA Server inacessível

Aplica-se a: ,

Translated automatically (see original)

How to configure MediaMonkey for DLNA/UPnP over the Internet

UPnP/DLNA is designed mainly for use over a local network, but it can be used over the internet if configured appropriately in one of two ways:

  1. By using a VPN to simulate a local network
  2. By configuring port forwarding to the Server and manually configuring the client with the server’s IP address and port.

Using a VPN

VPNs have the advantage of securing traffic between the DLNA client and server and allowing DLNA to function without additional configuration. The downside is that it can be complex to configure a VPN (beyond the scope of this article) and can incur a performance penalty.

The main thing to keep in mind when using a VPN is that the VPN must be configured to allow the server to be visible on the network so that the UPnP server is discoverable. If you’ve done so and the MediaMonkey Server isn’t discoverable try testing the server with a local UPnP client.

Unencrypted access using Port Forwarding

If you don’t have a VPN, you can configure UPnP/DLNA to be used over the internet. We do not recommend doing this as there is no access control. Anyone that can find your Media Server can access it. To do so anyway, you’ll need to:

  1. Set up your MediaMonkey UPnP Server to connect to the internet: with port forwarding through the router you can make the Server accessible outside of the local network. Be aware that there is no security preventing anyone else from connecting to the Server that’s made accessible through port forwarding. See your router’s online documentation as to how to setup port forwarding for your specific Router model. The port that MediaMonkey uses for its DLNA Server is visible via Tools > Options > Media Sharing from the Main Menu per server. You’ll want to configure port forwarding for that port for both UDP and TCP protocols to the server’s IP address.
  2. Set up your MediaMonkey UPnP client by manually adding the DLNA Server (since remote DLNA Servers are not auto-detected):
    1. In MediaMonkey 5+ go to the Devices & Services node in the Media Tree and use the + icon next to the Media Servers section to manually add a DLNA Server.
    2. In MediaMonkey 4 right click on the Media Servers node in the Media Tree and use Add Media Server
    3. You’ll need:
      1. Know if you can connect via https or only via http (MediaMonkey only supports http)
      2. The IP of the network the DLNA Server is on, as your going outside the network this generally is the public IP of the network, not the IP of the DLNA Server (or PC it runs on)
      3. The port used for port forwarding in the Router, in MediaMonkey this is set under Tools > Options > Media Sharing from the Main Menu per server.
      4. The device description document filename, MediaMonkey uses DeviceDescription.xml for this.
    4. You can use this in any browser to confirm that the DLNA Server is accessible (eg. http://192.168.1.2:4000/DeviceDescription.xml).

If you have trouble accessing the MediaMonkey Media Server please see: MediaMonkey UPnP/DLNA Server inaccessible

Applies to: ,

Hide original

Este artigo foi útil?