PORTlogo FORWARD


What is port forward ?
News
Download
License
Peoples
Screenshoots
How to
Links

What is port forward ?


Port forward is a java application which gives you the ability to open tunnes between your local computer and a remote ssh server.
Tunnels can be created both local or remote

Examples:
  1. Open a local tunnel to reach a remote mysql database

    Your application needs to connect to a remote database server (mysql for example), but the database server (remote.server.example) is not configured to expose mysql to internet directly.
    Port forward will open a local port (3306) and redirect the connections to remote.server.example ssh server
    The remote.server.example ssh server will connect to it's local mysql server
    screenshoot01


  2. Open a local tunnel to use a remote VNC desktop
    You want to connect to your home computer which has a vnc server but from work, the firewall blocks vnc connections (generally on port 5901)
    If you have a ssh server at home, you could use it as bridge to connect to a client in your home:

    Your position internet your linux ssh server   ->>
    -->>  you client with vnc (192.168.0.40)
    you office
    internet <<<<< -----  your home ----- >>>>>

    alt

    You will be now able to connect using a vncclient giving 127.0.0.1:0 as address

  3. Open a remote tunnel to pilot a remote linux server non reachable through internet
    In this example, you will create a remote tunnel, this will give the remote man to connect to and reach you.
    I used this example if I have to pilot a remote pc, but this pc has no static IP or is behind a firewall
    The good solution is to activate port forward on the pc to be piloted and to connect it to a server we can access.


    PC 1 (to be piloted) --||||-- firewall  ----- internet ----- accessible-server

    As you can see in this situation, if firewall does not use NAT, you have no way to reah PC 1
    If you start port forward like this:
    alt
    you will create a port (10000) on the accessible-server (remote.server.example) which will redirect connections to the PC 1 to a ssh server (port 22)

News

24/01 (January) /2006
second update: minor feature, added button to select command to execute upon succesfull connection
13/11 (november) /2005
first update: add ping ssh command to check if connections is up
05/02 (february) /2005
portforward is published on internet
26/02/2005

Download

Last release (23/02/2006)  1 MB. (Auth failed bug fix)
portForward-1.4.tar.gz
(24/01/2006)  1 MB.
portForward-1.3.tar.gz
(16/11/2005)  1 MB. (Adding samba get/put file)
portforward-1.2.tar.gz


License

Portforward is released under the LGPL License


Peoples

This project is developed by

Screenshoots

screenshoot


How To

You need to have installed a java virtual machine, at least a j2re 1.4.2 to execute it.
Once downloaded and extracted to portforward.tar.gz
Under Linux:
Be sure java is in you classpath
tar zxvf portforward.tar.gz
cd portForward
sh run_linux.sh
Under windows:
Extract portforward.tar.gz
open portForward directory
open runme.bat and edit first row to point to correct position of your J2SE directory
execute it with runme.bat


Links

Libraries used in this project:
j2re http://java.sun.com
Jsch http://www.jcraft.com/jsch/
commons lang http://jakarta.apache.org/commons/lang/  
log4j http://logging.apache.org/log4j/docs/index.html

Other links:
GL-COMO  http://www.gl-como.net