To make it clear, we have the following machines: Machine1 - IP: 111.111.111.111 - Behind firewall, and wants to connect to Machine3 which can’t be connected directly. Machine2 - IP: 222.222.222.222 - Forwards incomming connections to Machine3 Machine3 - IP: 333.333.333.333 on port 21 as machine2 has access to connect to machine 3. Here, machine2 act like gateway b/w other

# bindadress    bindport  connectaddress  connectport
111.111.111.111    80     333.333.333.333       21