Does the TP-Link have a proper default gateway? I.e. the address of your OPNsense in the OPT1 network?
You could try to configure outbound NAT on OPT1 with the source limited to LAN net - that will make the connection appear local to the TP-Link device.
LIVE VIEW:Interface Time Source Destination Proto Label OPT1 2023-07-25T15:48:26 192.168.142.100:52745 192.168.143.2:443 tcp let out anything from firewall host itself LAN 2023-07-25T15:48:26 192.168.142.100:52745 192.168.143.2:443 tcp Allow to connect to infrastructure devices via HTTPS DIAGNOSTIC VIEW:tcp 192.168.142.100:52769 192.168.143.2:443 SYN_SENT:CLOSED 9 28 7.00 448.00 let out anything from firewall host itselftcp 192.168.142.100:52769 192.168.143.2:443 CLOSED:SYN_SENT 9 28 7.00 448.00 Allow to connect to infrastructure devices via HTTPS
a. I am connected with an admin_ip in the 192.168.148.0/24 network, and I am trying to connect to a switch which is on 192.168.148.0/24 network both on port HTTPS and SSH, but the traffic doesn't go through. I am able to ping the device though, which means that ICMP traffic is going through, and I have a rule for that which states that all ICMP requests from admin_ips are allowed in, and then the allow everything out of the firewall allows for the response to come back.