transparent rs-232 connection

I need to create a transparent rs-232 connection from my pc to a remote device. I thought that the BBB would be a good solution.

I need to connect the serial port to a BBB which then connects to a remore BBB over wifi and then out the BBB serial port. I need to do this without logging into either BBB.

Here is a simple diagram

PC → rs232 → BBB → WIFI → BBB → rs232 → remote device

Any ideas on how I can accomplish this?

Thanks

Richard

PC -> rs232 -> BBB -> WIFI -> BBB -> rs232 -> remote device

This seems complicated---are you limited by a proprietary PC software
that has to use the serial port on the PC? if not, a simpler solution
would be PC -> network -> wifi -> serial server (e.g. antaira 601) ->
remote.