I need Classes written to proxy all traffic from ports on the local box to ports on a remote box. The code needs to be cross platform.
These classes will be integrated into an existing program. The program already gets the rules and returns them in a ptree format, but that can easily be changed. The source format for the rules is JSON.
Rules contain ID, source port, remote host, remote port, and protocol, protocol can be 'tcp', 'udp', or 'both'. remote host will be an IP address.
Attached is the example Main function with the desired functionality.
11 freelancers are bidding on average $555 for this job
If i am understanding you well, then it best solution would be to be implemented via Qt since its cross-platform library. http://doc.qt.io/qt-5/qnetworkproxy.html