in reply to Re^4: telnet from host to remote host
in thread telnet from host to remote host

I do not understand what you mean by:
Also I have tried $telnet->dump_log($filename) it was so different 0x0000 that kind of things

Did you get a log file ?

Did the contents of that file help you diagnose the issue?

A more sane approach would be to use Net:Telnet to connect directly to your target machine, instead of going through an intermediate host.

You could also use something like tcpdump/wireshark, to capture packets between your intermediate and target hosts, to see what is going across, and where the protocol is breaking.

        "Software interprets lawyers as damage, and routes around them" - Larry Wall