Command line to launch Fwd1: 
fwd.net1$ dietForwarder name Fwd1
Command line to launch Fwd2-1: 
fwd.net2$ dietForwarder name Fwd2-1
  peer-name Fwd1 
   ssh-host fwd.net1 ssh-login
  dietUser 
   ssh-key id_rsa_net1
  remote-port 50000
Command line to launch Fwd2-3: 
fwd.net2$ dietForwarder name Fwd2-3
  peer-name Fwd3 
   ssh-host fwd.net3 ssh-login
  dietUser 
   ssh-key id_rsa_net3
  remote-port 50000
Command line to launch Fwd3: 
fwd.net3$ dietForwarder name Fwd3
Using this configuration, a communication from a host on net1 to a host on net3 is first routed from Fwd1 to Fwd2-1 and then from Fwd2-3 to Fwd3. Note that Fwd1 has to be launched before Fwd2-1, and Fwd3 has to be launched before Fwd2-3.
The DIET Team - Mer 29 nov 2017 15:13:36 EST