Come configurare MediaMonkey per DLNA/UPnP su Internet

UPnP/DLNA è progettato principalmente per l'uso su una rete locale, ma può essere utilizzato anche su Internet se configurato in modo appropriato in uno dei due modi seguenti:

  1. Utilizzando una VPN per simulare una rete locale
  2. Configurando l'inoltro delle porte al server e configurando manualmente il client con l'indirizzo IP e la porta del server.

Utilizzo di una VPN

Le VPN hanno il vantaggio di proteggere il traffico tra il client e il server DLNA e di consentire a DLNA di funzionare senza configurazioni aggiuntive. Lo svantaggio è che può essere complesso configurare una VPN (oltre lo scopo di questo articolo) e può comportare una penalizzazione delle prestazioni.

La cosa principale da tenere a mente quando si usa una VPN è che la VPN deve essere configurata per consentire al server di essere visibile sulla rete in modo che il server UPnP sia rilevabile. Se lo hai fatto e il server MediaMonkey non è rilevabile, prova a testare il server con un client UPnP locale.

Accesso non crittografato tramite Port Forwarding

Se non hai una VPN, puoi configurare UPnP/DLNA per essere utilizzato su Internet. Non ti consigliamo di farlo perché non c'è alcun controllo di accesso. Chiunque riesca a trovare il tuo Media Server può accedervi. Per farlo comunque, dovrai:

  1. Imposta il tuo server UPnP MediaMonkey per connettersi a Internet: con l'inoltro delle porte tramite il router puoi rendere il server accessibile al di fuori della rete locale. Tieni presente che non esiste alcuna sicurezza che impedisca a chiunque altro di connettersi al server reso accessibile tramite l'inoltro delle porte. Consulta la documentazione online del router per sapere come impostare l'inoltro delle porte per il tuo specifico modello di router. La porta che MediaMonkey utilizza per il suo server DLNA è visibile tramite Strumenti > Opzioni > Condivisione multimediale dal menu principale per server. Dovrai configurare l'inoltro delle porte per quella porta per entrambi i protocolli UDP e TCP all'indirizzo IP del server.
  2. Imposta il tuo client UPnP MediaMonkey aggiungendo manualmente il server DLNA (poiché i server DLNA remoti non vengono rilevati automaticamente):
    1. In MediaMonkey 5+ vai al nodo Dispositivi e servizi nella struttura multimediale e usa l'icona + accanto alla sezione Server multimediali per aggiungere manualmente un server DLNA.
    2. In MediaMonkey 4 fai clic con il pulsante destro del mouse sul nodo Media Server nell'albero multimediale e utilizza Aggiungi Media Server
    3. Avrai bisogno di:
      1. Scopri se puoi connetterti tramite https o solo tramite http (MediaMonkey supporta solo http)
      2. L'IP della rete su cui si trova il server DLNA, poiché si esce dalla rete, questo è generalmente l'IP pubblico della rete, non l'IP del server DLNA (o del PC su cui viene eseguito)
      3. La porta utilizzata per l'inoltro delle porte nel router; in MediaMonkey questa impostazione viene effettuata in Strumenti > Opzioni > Condivisione multimediale dal menu principale per ogni server.
      4. Per questo, MediaMonkey utilizza il nome file del documento di descrizione del dispositivo, DeviceDescription.xml .
    4. È possibile utilizzarlo in qualsiasi browser per confermare che il server DLNA è accessibile (ad esempio http://192.168.1.2:4000/DeviceDescription.xml).

Se riscontri problemi nell'accesso al MediaMonkey Media Server, consulta: MediaMonkey UPnP/DLNA Server inaccessibile

Si applica 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

Questo articolo ti è stato utile?