Possible to forward LAN traffic to WAN

There is a weird device that’s necessitating this question.

But is there a way for traffic sent to a random LAN IP to be redirected to a WAN IP.

E.g. Device 1 is locked to sending 192.168.1.X addresses. So I can only tell Device 1 (192.168.1.10) send data to 192.168.1.20 or whatever. How can I get the router to forward this to a public IP.

In other words all traffic sent to this LAN address is actually going out to the WAN.

I’m guessing I can use some TCP Port Forwarding Software as a middleman.
Device 1 → Sends to PC → PC forwards to WAN IP but is there a way to do it without the PC

Well, firstly… what will your WAN do with the traffic?

You could use outbound policy to forward traffic for a specific IP to a wan link, but if the gateway on your wan link doesn’t know what to do with it it will drop it, and public internet routers will drop private IP traffic automatically.

Secondly, if the traffic suitable for being on the public internet (IE is it a secure protocol or traffic that if it was read in transit, would not be an issue)?

If so, you could nat it (s-nat, in Virtual Network Mapping)… or you could put another peplink at the other end and tunnel it with SD-WAN.