Project

General

Profile

how to specify HDHomerun IP

Added by Daniel Guenther over 1 year ago

Hi,

I have a HDHomeRun device on another subnet connected via VPN (site2site).
How can I supply the IP address of the device to TVHeadend since it can't find the device on it's own?

Can anyone give me a hint?

Dan


Replies (5)

RE: how to specify HDHomerun IP - Added by Number B over 1 year ago

If you want to be able to access it directly then it depends entirely on your VPN setup. If you VPN in and have an IP address on that same subnet it's easy- it should just route. If it really is still on a separate subnet after the VPN is established (as in VPN'ing in doesn't provide you with an IP on that same subnet) then you will have to setup a route to that network or specific device from your gateway/router.

The easier way to do this is just use Plex. Something like this might work: https://forums.plex.tv/t/rel-hdhomerun-viewer/59998

RE: how to specify HDHomerun IP - Added by Robert Cameron over 1 year ago

You can try using a broadcast relay between the subnets. Otherwise, it's a no go, as the HDHR support relies upon broadcast packets in order to discover and create the devices in Tvheadend.

For reference, see: https://forum.silicondust.com/forum/viewtopic.php?f=113&t=68230

RE: how to specify HDHomerun IP - Added by Daniel Guenther over 1 year ago

Robert Cameron wrote:

You can try using a broadcast relay between the subnets. Otherwise, it's a no go, as the HDHR support relies upon broadcast packets in order to discover and create the devices in Tvheadend.

Is there any software you can recommend for this relaying? I use a IPSEC VPN to connect but it seems I am not able to get the needed broadcasts through.
What works is a discover via the IP address but with that I can only update firmware e.g.

The documentation of the protocol seems to be a real pain.

What I tried to far:

- On the TVHeadend machine I opened a client vpn to the network the HDHomerun is in, so the TVH server has an interface with local IP of the subnet

Unfortunately that does not help, even the hdhomerun_config is not able to discover the device, it could be that that creepy software is just using the first ethernet device as I saw no paket going out on the vpn interface.

Usually I would try to use OpenVPN via TAP interfaces to just bridge but poorly I have no OpenVPN capable device on the other subnet available... :(

Dan

RE: how to specify HDHomerun IP - Added by Daniel Guenther over 1 year ago

Number B wrote:

If you want to be able to access it directly then it depends entirely on your VPN setup. If you VPN in and have an IP address on that same subnet it's easy- it should just route. If it really is still on a separate subnet after the VPN is established (as in VPN'ing in doesn't provide you with an IP on that same subnet) then you will have to setup a route to that network or specific device from your gateway/router.

The routing is no problem, the network is reachable and I can even use hdhomerun_config as long as I specify the IP address of the device.
What I use actually is client VPN to the network directly on the TVH server, even this will not help as it seems the interface (tried tun and tap) is not used by the HDHomerun lib.

I think I need to special kind of software to relay the hdhomerun broadcasts but what to use? I played with Proxy-ARP a bit, without luck yet...

Dan

RE: how to specify HDHomerun IP - Added by Robert Cameron over 1 year ago

From the SiliconDust forum thread I posted, the software mentioned there is: udp-broadcast-relay

    (1-5/5)