OnWorks favicon

dietForwarder - Online in the Cloud

Run dietForwarder in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dietForwarder that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



dietForwarder - DIET tool to manage ssh tunnels between DIET components


dietForwarder - Tool for creating DIET forwarders. Forwarders are special components that
serve as proxies and manage ssh tunnels between DIET components in complex networks.


dietForwarder [options] ...


Deploying DIET on heterogeneous networks that are not reachable by means other than ssh
tunnels is a delicate task. DIET forwarders are special DIET components that serve as
proxies between DIET components by creating ssh tunnels.

dietForwarder is a command to instantiate DIET forwarders. Forwarders simplify the
maintenance of ssh tunnels between DIET components, thus improving DIET's scalability and
ease of configuration in complex network topologies.

Before starting a DIET forwarder, you must:

· launch omniNames on the local and remote hosts;

· launch the remote peer, specifying its name and network configuration only;

· launch the local peer and give it the remote peer's name, the ssh connection's details,
the remote port to use and the 'pass -C' option to create the ssh tunnel.

[Remark: forwarders must be launched before the DIET hierarchy.]


--name [name]
String identifying the forwarder.

--peer-name [name]
String identifying its peer on the other network.

--ssh-host [host]
Host hosting the ssh tunnel.

--ssh-login [login]
Login used to establish the ssh connection (default: current user login).

--ssh-key [/path/to/ssh/key]
Path to the ssh key (the private one!) used to establish the ssh connection
(default: $HOME/.ssh/id_rsa).

--remote-port [port]
Port the ssh host is listening on.

--remote-host [host]
Host to which the connection is made by the tunnel (corresponds to ssh options -L
and -R).

--nb-retry [nb]
Number of times that the local forwarder will try to bind itself to the remote
forwarder (default: 3).

--peer-ior [IOR]
Passes the remote forwarder's IOR. By default, the local forwarder will retrieve
its peer's IOR.

--tunnel-wait [seconds]
Set the number of seconds to wait before considering that the tunnel has been


Here is a simple configuration example:

· We have two domains: net1 and net2. Forwarders will be launched on hosts fwd.net1 and

· There's no link between hosts fwd.net1 and fwd.net2 but users may access fwd.net2 from
fwd.net1 using a ssh connection.

· Let's call the fwd.net1 forwarder Fwd1 and the fwd.net2 forwarder Fwd2.

· One SeD lives in fwd.net2 while the rest of the DIET hierarchy lives on the net1 domain.

Command line for launching Fwd1

fwd.net1$ dietForwarder --name Fwd1 --peer-name Fwd2 \
--ssh-host fwd.net2 --ssh-login dietUser \
--ssh-key id rsa net2 --remote-port 50000

Command line to launch Fwd2

fwd.net2$ dietForwarder --name Fwd2


DIET uses CORBA as its communication layer. While it is a flexible and robust middleware,
it remains hard to deploy DIET on heterogeneous networks that are not reachable except
through ssh tunnels. DIET forwarders help the administrator to configure their grid
without manually setting-up ssh tunnels, which is arguably neither simple nor scalable.
DIET forwarders make it very easy to configure networks with such topologies.

Use dietForwarder online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    Download LMMS Digital Audio Workstation
  • 2
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 3
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 4
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    Download XMLTV
  • 5
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    Download strikr
  • 7
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • More »

Linux commands