Page 1 of 1

Create secure tunnel by Magic Router (or MR ActiveX)

PostPosted: Mon Sep 05, 2011 8:32 am
by admin
By creating secure tunnel, the data between client and server will be safe.
take mysql client and server as an example.

1. Copy Magic Router program on both client and server.
2. Start Magic Router on client side, set listen port = 3306, forward port = 3306, and enter the mysql server ip.
3. Select protocol = TCP.
4. Go to coding page, select router mode as client, select AES encryption. If you need to change AES Key, both client and server side should be the same key.
5. Click start(0).
6. Start Magic Router on server side, set listen port = 3306, forward port = 3307, ip = 127.0.0.1. Where 3307 is Mysql server listen port, you can change it on my.ini under windows directory.
7. Select protocol = TCP.
8. Go to coding page, select router mode as server, select AES encryption. if you need to change AES Key, both client and server side should be the same key.
9. click start(0) to finish settings.

The tunnel is created, then you need to config your application client. The mysql odbc driver should point to 127.0.0.1:3306. If point to localhost or true ip of the client, there will be security hold, hacker can sniff your data.
Start you client application, do what u want. Your will find everything is no change, but the data is safely transferred.
There is an ActiveX version to use Magic Router as SSH like tunnel client, see ActiveX for more.