Skip to content

ice2heart/nat_rush

Repository files navigation

Nat rush.

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.

Config file example

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

Mac OS specific

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.

Linux make deb.

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

CC license

Creative Commons «Attribution-NonCommercial-ShareAlike»

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published