OTP/SMS forwarding software android to android

I need an app for forwarding otp and sms from one android to android without having on same wifi network. Do you know any app can do this?

Off the top of my head, for SMS relaying i’d use PlainApp on both devices while they’re both in the same VPN network and are able to see each other, with a server running on a server Android phone (where the SMSes will be arriving to) on it’s VPN local IP address. Look up how to create your own VPN network if you don’t know or have one.
OTP codes can be synchronized over ente Authenticator or over Keepass database with some kind of cloudsync.