next up previous contents
Next: Complex network topology Up: Configuration examples Previous: Configuration examples   Contents

Simple configuration

Command line to launch Fwd1:
fwd.net1$ dietForwarder name Fwd1 peer-name Fwd2
ssh-host fwd.net2 ssh-login dietUser
ssh-key id_rsa_net2 remote-port 50000
net-config net1.cfg C

Command line to launch Fwd2:
fwd.net2$ dietForwarder name Fwd2 net-config net2.cfg

Configuration file for Fwd1:
In this example, the forwarders Fwd1 accepts only the connections to fwd.net2.

accept:fwd.net2

Configuration file for Fwd2:
In this example, the forwarders Fwd2 accepts all the connections except those which are for the localhost.

accept:.*
reject:localhost

Note that Fwd2 has to be launched before Fwd1. When the two forwarders are launched, the user can deploy his DIET hierarchy. All the communications through DIET forwarders are transparent.


next up previous contents
Next: Complex network topology Up: Configuration examples Previous: Configuration examples   Contents
Eddy Caron 2011-03-30