[TriLUG] telnet from non-default ip
aaron at schrab.com
Fri Oct 31 17:24:25 EDT 2008
At 17:08 -0400 31 Oct 2008, jason tower <jtower at cerient.net> wrote:
>server "mikey" with two public ip addresses 18.104.22.168 (eth0) and 22.214.171.124 (eth0:0).
> to troubleshoot something i need to telnet from mikey to some remote ip, but i
>want the source ip to be 126.96.36.199 instead of the default 188.8.131.52. the telnet
>client does not appear to support any such mechanism, and i can't turn
>off 184.108.40.206 as it is a production box. how can this be accomplished?
The telnet clients (in both the telnet and telnet-ssl packages) on
Debian and Ubuntu systems support specifying the source IP with the -b
Also, netcat (also known as nc) allows this to be specified with the -s
More information about the TriLUG