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.
In order to better assist you, it may be good to provide more information:
The make/model of your device
Version of OpenWrt your device is running
Your configs
Your use case - basically, it's not obvious why relayd is needed in the setup described in your first post
Clarify what you mean by "reinstalling OpenWrt" because you tried to "add another interface to the relayd interface while the interface was still running" - did you mean "Reset"?
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.
Edit:
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'
relayd is for the specific use case of making a psuedo "layer 2 bridge" over a conventional AP-STA wifi link. It is not applicable to any other situation.
OpenVPN would be either routed layer 3, or if you have TAP OpenVPN on both ends it can be conventionally bridged.
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).