Skip to content
Commit 9d923033 authored by Jason Wessel's avatar Jason Wessel Committed by Joe MacDonald
Browse files

tsocks: Add tsocks to meta-network/recipes-protocols



The tsocks program is frequently used to easily wrap any generic
program such as telnet, ssh, wget or any other tcp socket program
using an LD_PRELOAD library.  One might use an ssh tunnel and wget for
example.

Example of tunnel via ssh to remote url:

ssh -N -D 1080 $REMOTE_HOST_TUNNEL_ENDPOINT &

cat<<EOF>tsocks.conf
server_port = 1080
server = 127.0.0.1
EOF

TSOCKS_CONF_FILE=$PWD/tsocks.conf tsocks curl $REMOTE_URL

Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: default avatarJoe MacDonald <joe_macdonald@mentor.com>
parent b851e928
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment