D
D
dsslesarev2020-08-05 15:03:11
Debian
dsslesarev, 2020-08-05 15:03:11

TV does not see DLNA server connected via VPN?

Hello!

There is a home server on Debian, it is in one apartment, and all TVs inside this apartment see minidlna
Minidlna and vpn are configured on the server.
In the second apartment, I connected to the VPN through a router, the server became available from all devices, but the TVs do not see Minidlna.

wireguard settings
[Interface]
Address = 10.8.0.1/24
ListenPort = 51820
#приватный ключ сервера берем из файла srv-priv.key
PrivateKey = oBPHGRoR5AtEJnkM=
#настраиваем маршрутизацию в примере название интерфейса, который смотрит наружу enp0s8, у вас он будет называться иначе
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o ens33 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o ens33 -j MASQUERADE

[Peer]
PublicKey = o/gHS7tq7dxvaxv1HFLWPNTxVY=
AllowedIPs = 10.8.0.0/24
Endpoint = 10.15.17.1:51820

[Peer]
# client 1
#публичный ключ первого клиента берем из файла cl1-pub.key
PublicKey = yDVteogRlOCPzfWjmpnQ=
AllowedIPs = 10.8.0.2/32


Minidlna

port=8200
network_interface=ens33,wg0
media_dir=/mnt/mnt2/video/
db_dir=/var/cache/minidlna
media_dir=/var/lib/minidlna
log_dir=/var/log
root_container=B
friendly_name=Home Collection
serial=1400714
model_number=1
merge_media_dirs=yes
inotify=yes
wide_links=yes
notify_interval=45


Phones, tablets also do not see minidlna when connected. If connected directly to the router, then everything is OK where the server is.

What is the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2020-08-05
@dsslesarev

I think the problem is the lack of a single broadcast domain.
check with tcpdump if broadcast requests go through vpn? seems to me that no.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question