"Client to remote host" connection with UDP tunneling through intermediate host

Namikaze Minato <[email protected]> Mon, 14 Mar 2011 20:05:22 +0100
Newsgroups gmane.comp.security.zebedee.general
Message-ID <[email protected]>
Hello everybody.

My question will perhaps seem trivial to answer, and I hope it will,
but please take a few minutes to help me if you can.


I am trying to connect to a remote host (named "endhost") I cannot
access except going through a proxy, and that proxy prevents me to use
the ports I need (UDP 5000 - 5200).

I used to make a ssh SOCKS tunneling to an intermediate host (named
"intermediate") using putty+proxifier to redirect everything my
computer (named "client") sent to the "intermediate" host, which
allowed me to bypass the proxy.
I am now trying to do the same with zebedee because the game I want to
connect through that proxy uses UDP ports 5000 to 5200 and ssh
tunneling can't work on UDP Datagrams. I guess that if a TCP
connection can reach the host "endhost", an UDP datagram will too.
This is why I tried to create a TCP tunnel from "client" to
"intermediate", in order to reach "endhost".

What I tried is following :

Client-side :
	zebedee.exe  -o clientlog -U 1080:intermediate:1080
	proxifier configured as following :
		don't process zebedee
		proxy : 127.0.0.1:1080
Intermediate-side : ./zebedee -U -s -o serverlog

I then fired a navigator on the client, which was not able to grasp
google, and here are he logs :

server-side log is :
zebedee(31841/86672):  waiting for connection on port 11965
zebedee(31841/86672):  accepted connection from 192.168.68.158
zebedee(31841/86672):  waiting for connection on port 11965
zebedee(31841/83280): ERROR: failed connecting to port 1080 on
127.0.0.1: (Connection refused)
zebedee(31841/83280): ERROR: initial protocol exchange failed


client-side log is :
zebedee(4936/3832):  Listening on local port 1080
zebedee(4936/3832):  Listening on local port 1080
zebedee(4936/3832):  listening for client UDP data
zebedee(4936/3832):  accepted connection from 127.0.0.1
zebedee(4936/3936): ERROR: server refused request for redirection to
lunix121.ensiie.fr:1080






I guess I'm doing something wrong, so if you can help me, please do so.
I'm ready to answer any question that can help solve my problem.


Thank you for reading.
LLoyd

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d