Comment configurer MediaMonkey pour DLNA/UPnP sur Internet

UPnP/DLNA est principalement conçu pour être utilisé sur un réseau local, mais il peut être utilisé sur Internet s'il est configuré de manière appropriée de l'une des deux manières suivantes :

  1. En utilisant un VPN pour simuler un réseau local
  2. En configurant la redirection de port vers le serveur et en configurant manuellement le client avec l'adresse IP et le port du serveur.

Utiliser un VPN

Les VPN présentent l'avantage de sécuriser le trafic entre le client et le serveur DLNA et de permettre à DLNA de fonctionner sans configuration supplémentaire. Leur inconvénient est la complexité de leur configuration (qui dépasse le cadre de cet article) et peut entraîner une baisse des performances.

Lors de l'utilisation d'un VPN, il est essentiel de le configurer pour que le serveur soit visible sur le réseau afin que le serveur UPnP soit détectable. Si vous avez configuré le serveur MediaMonkey et que celui-ci n'est pas détectable, essayez de le tester avec un client UPnP local.

Accès non chiffré à l'aide de la redirection de port

Si vous n'avez pas de VPN, vous pouvez configurer UPnP/DLNA pour une utilisation sur Internet. Nous vous le déconseillons, car il n'y a aucun contrôle d'accès. Toute personne trouvant votre serveur multimédia peut y accéder. Pour ce faire, vous devrez :

  1. Configurez votre serveur UPnP MediaMonkey pour vous connecter à Internet : la redirection de port via le routeur vous permet de rendre le serveur accessible en dehors du réseau local. Sachez qu'aucune sécurité n'empêche quiconque de se connecter au serveur rendu accessible par la redirection de port. Consultez la documentation en ligne de votre routeur pour savoir comment configurer la redirection de port pour votre modèle de routeur. Le port utilisé par MediaMonkey pour son serveur DLNA est visible via Outils > Options > Partage multimédia dans le menu principal de chaque serveur. Vous devrez configurer la redirection de port pour ce port, pour les protocoles UDP et TCP, vers l'adresse IP du serveur.
  2. Configurez votre client UPnP MediaMonkey en ajoutant manuellement le serveur DLNA (car les serveurs DLNA distants ne sont pas détectés automatiquement) :
    1. Dans MediaMonkey 5+, accédez au nœud Périphériques et services dans l'arborescence multimédia et utilisez l'icône + à côté de la section Serveurs multimédias pour ajouter manuellement un serveur DLNA.
    2. Dans MediaMonkey 4, faites un clic droit sur le nœud Serveurs multimédias dans l'arborescence multimédia et utilisez Ajouter un serveur multimédia
    3. Vous aurez besoin de :
      1. Sachez si vous pouvez vous connecter via https ou uniquement via http (MediaMonkey ne prend en charge que http)
      2. L'adresse IP du réseau sur lequel se trouve le serveur DLNA. Lorsque vous sortez du réseau, il s'agit généralement de l'adresse IP publique du réseau, et non de l'adresse IP du serveur DLNA (ou du PC sur lequel il s'exécute).
      3. Le port utilisé pour la redirection de port dans le routeur, dans MediaMonkey, il est défini sous Outils > Options > Partage multimédia dans le menu principal par serveur.
      4. Le nom de fichier du document de description de l'appareil, MediaMonkey utilise DeviceDescription.xml pour cela.
    4. Vous pouvez l'utiliser dans n'importe quel navigateur pour confirmer que le serveur DLNA est accessible (par exemple http://192.168.1.2:4000/DeviceDescription.xml).

Si vous rencontrez des difficultés pour accéder au serveur multimédia MediaMonkey, veuillez consulter : Serveur UPnP/DLNA MediaMonkey inaccessible

S'applique à : ,

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

Cet article vous a-t-il été utile ?