UPnP/DLNA 는 주로 로컬 네트워크에서 사용하도록 설계되었지만 다음 두 가지 방법 중 하나로 적절히 구성하면 인터넷을 통해서도 사용할 수 있습니다.
- VPN을 사용하여 로컬 네트워크를 시뮬레이션합니다.
- 서버로의 포트 포워딩을 구성하고, 서버의 IP 주소와 포트를 사용하여 클라이언트를 수동으로 구성합니다.
VPN을 사용하다
VPN은 DLNA 클라이언트와 서버 간의 트래픽을 보호하고 추가 구성 없이 DLNA가 작동할 수 있다는 장점이 있습니다. 단점은 VPN을 구성하는 것이 복잡할 수 있다는 것입니다(이 기사의 범위를 벗어남). 또한 성능 저하가 발생할 수 있습니다.
VPN을 사용할 때 염두에 두어야 할 가장 중요한 점은 VPN이 UPnP 서버를 검색할 수 있도록 네트워크에서 서버를 볼 수 있도록 구성되어야 한다는 것입니다. 그렇게 했는데도 MediaMonkey Server를 검색할 수 없다면 로컬 UPnP 클라이언트로 서버를 테스트해 보세요.
포트 포워딩을 사용한 암호화되지 않은 액세스
VPN이 없다면 인터넷을 통해 UPnP/DLNA를 사용하도록 구성할 수 있습니다. 액세스 제어가 없으므로 이 작업을 권장하지 않습니다. 미디어 서버를 찾을 수 있는 사람은 누구나 액세스할 수 있습니다. 어쨌든 그렇게 하려면 다음이 필요합니다.
- MediaMonkey UPnP 서버를 설정하여 인터넷에 연결하세요. 라우터를 통한 포트 포워딩을 통해 로컬 네트워크 외부에서 서버에 액세스할 수 있습니다. 포트 포워딩을 통해 액세스 가능한 서버에 다른 사람이 연결하는 것을 막는 보안이 없다는 점에 유의하세요. 특정 라우터 모델에 대한 포트 포워딩을 설정하는 방법은 라우터의 온라인 설명서를 참조하세요. MediaMonkey가 DLNA 서버에 사용하는 포트는 서버당 주 메뉴에서 도구 > 옵션 > 미디어 공유를 통해 볼 수 있습니다. UDP 및 TCP 프로토콜 모두에 대해 해당 포트에 대한 포트 포워딩을 서버의 IP 주소로 구성해야 합니다.
- 원격 DLNA 서버는 자동으로 감지되지 않으므로 DLNA 서버를 수동으로 추가하여 MediaMonkey UPnP 클라이언트를 설정하세요.
- MediaMonkey 5+에서는 미디어 트리의 장치 및 서비스 노드로 이동한 후 미디어 서버 섹션 옆에 있는 + 아이콘을 사용하여 수동으로 DLNA 서버를 추가합니다.
- MediaMonkey 4에서 미디어 트리의 미디어 서버 노드를 마우스 오른쪽 버튼으로 클릭하고 미디어 서버 추가를 사용합니다.
- 필요한 것:
- https를 통해 연결할 수 있는지 아니면 http를 통해서만 연결할 수 있는지 알아보세요(MediaMonkey는 http만 지원합니다)
- DLNA 서버가 있는 네트워크의 IP는 네트워크 외부로 나갈 때 일반적으로 네트워크의 공용 IP이며 DLNA 서버(또는 이 서버가 실행되는 PC)의 IP가 아닙니다.
- 라우터의 포트 포워딩 에 사용되는 포트는 MediaMonkey의 경우 서버별로 주 메뉴의 도구 > 옵션 > 미디어 공유 에서 설정합니다.
- 장치 설명 문서 파일 이름인 MediaMonkey는 이를 위해 DeviceDescription.xml을 사용합니다.
- 모든 브라우저에서 이 명령을 사용하여 DLNA 서버에 액세스할 수 있는지 확인할 수 있습니다(예: http://192.168.1.2:4000/DeviceDescription.xml).
MediaMonkey Media Server에 액세스하는 데 문제가 있는 경우 다음을 참조하세요: MediaMonkey UPnP/DLNA Server에 액세스할 수 없음
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:
- By using a VPN to simulate a local network
- 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:
- 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.
- Set up your MediaMonkey UPnP client by manually adding the DLNA Server (since remote DLNA Servers are not auto-detected):
- 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.
- In MediaMonkey 4 right click on the Media Servers node in the Media Tree and use Add Media Server
- You’ll need:
- Know if you can connect via https or only via http (MediaMonkey only supports http)
- 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)
- 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.
- The device description document filename, MediaMonkey uses DeviceDescription.xml for this.
- 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: MMW4, MMW5+
Hide original