I have a raspberry pi with a minidlna server and an openvpn server.
When I'm on my local network I have access to my DLNA without problems.
When I'm outside (cellular or another wifi) I connect my device to the openvpn, and if I want to see my miniDLNA, I must change the parameter listen_ip to the ip of the vpn (which is 10.8.0.1), instead of the ip of my rpi on the local network.
So, actually it's not possible to see my miniDLNA from my local network AND from outside at the same time.
Is there a way to run my miniDLNA both on local and external network ?
Thanks !
EDIT : I also tried with the ip 0.0.0.0, but my DLNA is not seeing from outside.
EDIT2 : running 2 instances resolves the problem.