I guess my final step will be to try to reverse the roles of the two routers and see if that works (given that the server seems to run okay on the RT-AX86U Pro side).
Okay, so I tried this experiment. I enabled OpenVPN server on the Spain side (on the RT-AX86U Pro) and exported the client OVPN config file. Then I imported it on the Boston side (on the RT-AC86U) after shutting off the OpenVPN server on that router. As soon as I tried to connect to Spain, the RT-AX86U Pro (the new router in Spain) crashed with the kernel panic. So in other words, the RT-AC86U Pro crashes whether it is the bridge server or the bridge client.
So, I think this lends further evidence to the following idea -- that USING the tap adapter on the RT-AX86U Pro (sending data over the tap interface as opposed to just setting up the Server with it) causes the kernel panic.
Here is the complete log from the Spain RT-AX86U Pro when it is the bridge server rather than the bridge client:
admin@RT-AX86U_Pro:/tmp/home/root# tail -f /jffs/syslog.log
May 27 13:15:54 dropbear[5150]: Password auth succeeded for 'admin' from 192.168.15.211:56178
May 27 13:16:12 rc_service: httpd 2448:notify_rc restart_chpass;restart_vpnserver1
May 27 13:16:13 ovpn-server1[5264]: OpenVPN 2.6.3 arm-buildroot-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
May 27 13:16:13 ovpn-server1[5264]: library versions: OpenSSL 1.1.1t 7 Feb 2023, LZO 2.10
May 27 13:16:13 ovpn-server1[5265]: NOTE: when bridging your LAN adapter with the TAP adapter, note that the new bridge adapter will often take on its own IP address that is different from what the LAN adapter was previously set to
May 27 13:16:13 ovpn-server1[5265]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 27 13:16:13 ovpn-server1[5265]: Diffie-Hellman initialized with 2048 bit key
May 27 13:16:13 ovpn-server1[5265]: TUN/TAP device tap21 opened
May 27 13:16:13 ovpn-server1[5265]: TUN/TAP TX queue length set to 1000
May 27 13:16:13 ovpn-server1[5265]: ovpn-up 1 server tap21 1500 0 init
May 27 13:16:13 ovpn-server1[5265]: Socket Buffers: R=[524288->524288] S=[524288->524288]
May 27 13:16:13 ovpn-server1[5265]: UDPv4 link local (bound): [AF_INET][undef]:1194
May 27 13:16:13 ovpn-server1[5265]: UDPv4 link remote: [AF_UNSPEC]
May 27 13:16:13 ovpn-server1[5265]: MULTI: multi_init called, r=256 v=256
May 27 13:16:13 ovpn-server1[5265]: Initialization Sequence Completed
May 27 13:23:27 wlceventd: wlceventd_proc_event(530): eth6: Auth 84:F3:EB:86:88:FE, status: Successful (0), rssi:0
May 27 13:23:27 wlceventd: wlceventd_proc_event(559): eth6: Assoc 84:F3:EB:86:88:FE, status: Successful (0), rssi:-45
May 27 13:23:32 wlceventd: wlceventd_proc_event(511): eth6: Disassoc 84:F3:EB:86:88:FE, status: 0, reason: Disassociated because sending station is leaving (or has left) BSS (8), rssi:0
May 27 13:23:32 wlceventd: wlceventd_proc_event(494): eth6: Deauth_ind 84:F3:EB:86:88:FE, status: 0, reason: Deauthenticated because sending station is leaving (or has left) IBSS or ESS (3), rssi:0
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 VERIFY OK: depth=1, C=TW, ST=TW, L=Taipei, O=ASUS, CN=RT-AX86U_Pro, emailAddress=
me@myhost.mydomain
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 VERIFY OK: depth=0, C=TW, ST=TW, L=Taipei, O=ASUS, CN=client, emailAddress=
me@myhost.mydomain
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 peer info: IV_VER=2.6.3
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 peer info: IV_PLAT=linux
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 peer info: IV_TCPNL=1
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 peer info: IV_MTU=1600
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 peer info: IV_NCP=2
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 peer info: IV_CIPHERS=AES-256-GCM:AES-128-GCM:AES-256-CBC:AES-128-CBC:CHACHA20-POLY1305
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 peer info: IV_PROTO=990
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 peer info: IV_LZO_STUB=1
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 peer info: IV_COMP_STUB=1
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 peer info: IV_COMP_STUBv2=1
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 TLS: move_session: dest=TM_ACTIVE src=TM_INITIAL reinit_src=1
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 TLS: tls_multi_process: initial untrusted session promoted to trusted
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 1024 bit RSA, signature: RSA-SHA256
May 27 13:24:26 ovpn-server1[5265]: (Boston client IP -- removed for privacy):38229 [client] Peer Connection Initiated with [AF_INET](Boston client IP -- removed for privacy):38229 (via [AF_INET]88.1.204.132%ppp0)
May 27 13:24:26 ovpn-server1[5265]: client/(Boston client IP -- removed for privacy):38229 MULTI: no dynamic or static remote--ifconfig address is available for client/(Boston client IP -- removed for privacy):38229
May 27 13:24:26 ovpn-server1[5265]: client/(Boston client IP -- removed for privacy):38229 SENT CONTROL [client]: 'PUSH_REPLY,route 0.0.0.0 255.255.255.255 net_gateway,route-gateway dhcp,ping 15,ping-restart 60,peer-id 0,cipher AES-256-GCM,protocol-flags cc-exit tls-ekm dyn-tls-crypt,tun-mtu 1500' (status=1)
May 27 13:24:26 ovpn-server1[5265]: client/(Boston client IP -- removed for privacy):38229 MULTI: Learn: 4a:b1:c3:00:a3:5f@0 -> client/(Boston client IP -- removed for privacy):38229
May 27 13:24:27 ovpn-server1[5265]: client/(Boston client IP -- removed for privacy):38229 Data Channel: cipher 'AES-256-GCM', peer-id: 0
May 27 13:24:27 ovpn-server1[5265]: client/(Boston client IP -- removed for privacy):38229 Timers: ping 15, ping-restart 120
May 27 13:24:27 ovpn-server1[5265]: client/(Boston client IP -- removed for privacy):38229 Protocol options: protocol-flags cc-exit tls-ekm dyn-tls-crypt
May 27 13:24:31 ovpn-server1[5265]: client/(Boston client IP -- removed for privacy):38229 MULTI: Learn: 3c:ec:ef:d9:23:15@0 -> client/(Boston client IP -- removed for privacy):38229
May 27 13:24:31 ovpn-server1[5265]: client/(Boston client IP -- removed for privacy):38229 MULTI: Learn: 4c:ed:fb:8f:dd:28@0 -> client/(Boston client IP -- removed for privacy):38229
May 27 13:24:31 ovpn-server1[5265]: client/(Boston client IP -- removed for privacy):38229 MULTI: Learn: 54:e6:fc:f9:56:d0@0 -> client/(Boston client IP -- removed for privacy):38229
May 27 13:24:31 ovpn-server1[5265]: client/(Boston client IP -- removed for privacy):38229 MULTI: Learn: 00:a0:de:fd:ad:41@0 -> client/(Boston client IP -- removed for privacy):38229
May 27 13:24:34 kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000000002b8
May 27 13:24:34 kernel: Mem abort info:
May 27 13:24:34 kernel: ESR = 0x96000007
May 27 13:24:34 kernel: Exception class = DABT (current EL), IL = 32 bits
May 27 13:24:34 kernel: SET = 0, FnV = 0
May 27 13:24:34 kernel: EA = 0, S1PTW = 0
May 27 13:24:34 kernel: Data abort info:
May 27 13:24:34 kernel: ISV = 0, ISS = 0x00000007
May 27 13:24:34 kernel: CM = 0, WnR = 0
May 27 13:24:34 kernel: user pgtable: 4k pages, 39-bit VAs, pgdp = 000000005aa2c669
May 27 13:24:34 kernel: [00000000000002b8] pgd=000000002535b003, pud=000000002535b003, pmd=0000000025556003, pte=0000000000000000