Difference between revisions of "Summerschool Aachen 2004/Notes"

From C4 Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
General Notes about the Summerschool, Aachen,  Software, whatever comes to your mind.
 
General Notes about the Summerschool, Aachen,  Software, whatever comes to your mind.
 +
 +
== Lab Net ==
 +
=== TSocks ===
 +
If you still have trouble with socks i suggest the tsocks package, works nicely with openssh and apt-get. I guess you already know about proxy enviroment variables.
 +
dante is the other LD wrapper for socks.
 +
 +
=== Proxy ENV ===
 +
export http_proxy=http://172.17.23.1:3128
 +
export ftp_proxy=http://172.17.23.1:3128
 +
 +
=== Socat SSH ===
 +
 +
socat command line to get SSH working
 +
I used these commands to access SSH on $REMOTEMACHINE
 +
 +
$ socat TCP4-LISTEN:31228,reuseaddr \
 +
SOCKS4:172.17.23.1:$REMOTEMACHINE:22,socksport=1080
 +
$ ssh localhost -p31228
 +
 +
=== corkscrew ===
 +
 +
ilja@nikita:~/corkscrew-2.0%cat ~/.ssh/config
 +
ProxyCommand /home/ilja/corkscrew-2.0/corkscrew 172.17.23.1 3128 %h %p
 +
ilja@nikita:~/corkscrew-2.0%

Revision as of 17:28, 21 September 2004

General Notes about the Summerschool, Aachen, Software, whatever comes to your mind.

Lab Net

TSocks

If you still have trouble with socks i suggest the tsocks package, works nicely with openssh and apt-get. I guess you already know about proxy enviroment variables. dante is the other LD wrapper for socks.

Proxy ENV

export http_proxy=http://172.17.23.1:3128
export ftp_proxy=http://172.17.23.1:3128

Socat SSH

socat command line to get SSH working I used these commands to access SSH on $REMOTEMACHINE

$ socat TCP4-LISTEN:31228,reuseaddr \
SOCKS4:172.17.23.1:$REMOTEMACHINE:22,socksport=1080
$ ssh localhost -p31228

corkscrew

ilja@nikita:~/corkscrew-2.0%cat ~/.ssh/config
ProxyCommand /home/ilja/corkscrew-2.0/corkscrew 172.17.23.1 3128 %h %p
ilja@nikita:~/corkscrew-2.0%