This is simple utility generate reverse connection to client side server (VNC for example). If your client can connect to your server, program generate simple socket channel to him server.
Client side
[General]
address=vnc.onlinepbx.ru
port=6900
rawAddress=127.0.0.1
rawPort=5900
process=winvnc.exe
processArgs=-run
Client connect to vnc.onlinepbx.ru to port 6900 and create connection to localhost port 5900. Plus started application winvnc whith args "-run". (If you need not start application set process=none).
Server side
[General]
LogLevel=3
MainPort=6900
Need make bundle. Add build steps
~/Qt/5.2.0/clang_64/bin/macdeployqt client.app
cp config.ini client.app/Contents/MacOS/
mkdir dmg
cp -R client.app/ dmg/client.app
hdiutil create -ov -srcfolder dmg/ -format UDRW -volname client.dmg client.dmg
This add dependency and make dmg img.
tar xvf env.tar.gz
cp client nat_rush/usr/bin/natrush
cp config.ini nat_rush/usr/bin/config.ini
vim nat_rush/DEBIAN/control #Fix params
dpkg-deb --build nat_rush
Creative Commons «Attribution-NonCommercial-ShareAlike»