I have relayd installed and initially just lan and wwan connected through it. However, I have had it completely crash OpenWRT when I attempt to add another device/interface. Is there anyway of using relayd without it crashing the device? Currently reinstalling OpenWRT because I tried add another interface to the relayd interface while the interface was still running.
running on a BPi R64. Needed the relay to pass the 10.1.1.* subnet of my main router through to my desktop pc. Without it would just be assigned an address in the 192.168.0.0 range. I not sure if I tested with 192.168.1.1 before I reinstalled but it working now just with the lan and wwam interfaces connected via the relay.
Just tested again and can not access the device via 192.168.1.1 either (yes, have to reinstall after checking).
Here's an example config I use to relay to a settop box. I make an interface and add the PHYs, the protocol is "none" I then add that interface the the upstream interface to the created relay interface:
config interface 'wwan'
option proto 'dhcp'
config interface 'media_lan'
option proto 'none'
option device 'eth0.3'
config interface 'media_br'
option proto 'relay'
list network 'media_lan'
list network 'wwan'
That is fine if you're going to VPN everything from the LAN anyway.
That doesn't make a lot of sense. Relayd is written for the one very specific use case of a "wireless extender" and it breaks standards to do it.
If you want to include devices on the non-OpenWrt main router into the OpenWrt lan and vpn networks it would be better to convert to OpenWrt being the main router and relegate the original router to be a link to the Internet only. Or use symmetric routing if you have any control of the main router (ability to install static routes on it).