PDA

View Full Version : Help with tunnelling


msjwozere
26-11-2006, 14:47
Hey, this is quite an in-depth question, hope someone can help me with it :)

I am currently behind a university firewall which blocks ALL UDP ports inbound and outbound, but leaves all TCP open.

I have just set up a working UDP tunnel using this (http://www.twock.com/java/cubehub/), plays CS/CS:Source fine with ping of around 60-70.

I am using proxycap version 3.1, which adds the programs to use the tunnel. When i try to join the teamspeak server i get a timeout, i have tried forwarding only UDP into the tunnel, and leaving TCP as it is, and i have tried forwarding both. I get the same error both times.

The server end of my tunnel is running on 512kbit ADSL using a netgear DG834G router. The only ports i have forwarded on this router is the tunnel port, which is 55455 just to be random, this goes to the PC with the server tunnel sofware on it.

Do i need to forward a teamspeak port on my router as well, i can see why it doesnt work because CS works fine - this one has got me stumped!

Has anyone else managed to get TS working through a tunnel?

(I'm a 3rd year Coumputer Science student, and now i feel kind of dumb!)

Reedy Boy
26-11-2006, 15:08
If this is for the client, i really cant see why you would need to port forward anything special for it

Setup:

UniPc TS2 --> ProxyCap --> CubeHub Tunnel --> University Network --> Internet --> Router --> CubeHub Tunnel --> Other PC

Is that right?


Obviously, if CSS works fine, you must have your tunnel sorted correctly


I dont know if TS supports a proxy for internet connection, which could be part of the problem

I dont know how exactly ProxyCap is setup, whether it listens for outbound connections from x and routes them, or something else

It depends waht TS follows for its internet connection, if it follows say IE, have you tried setting IE to use the proxy?



Soemthing you could do to test it, is setup a TS server on the machine that is at the end of your tunnel, and see if your pc @ uni will connect to the TS server at the end of the tunnel....

msjwozere
26-11-2006, 15:24
The cubehub tunnel acts as a SOCKS 5 Proxy, interestingly though, inputting the serverinfo into the proxy setting for IE doesn't work, you still need Proxycap to make it use the tunnel correctly. Maybe this is just a slight problem with the tunnel software, i dont know.

I have read that it cant resolve host-names properly (can't believe i only just thought of this!), so wil replacing tsx.server.com with the IP make a difference?

If that doesnt work i will test it like you said. Thanks.

I will try and report back!

Reedy Boy
26-11-2006, 17:07
Good :)

If there is a dns resolving problem, try doing the IP address

It cant do any harm

msjwozere
26-11-2006, 17:21
[17:19:28] No reply from server
Maybe the server is offline
or maybe teamspeak is not running on it

using the IP instead :confused:

Reedy Boy
26-11-2006, 22:07
Are you able to connect to the other pc via its LAN IP?

msjwozere
26-11-2006, 23:32
Um i don't know how i would connect to the other PC using its LAN IP, everything has to go through the router.

Should i try enabling DMZ, see if this has any effect, i've read it can solve problems like this sometimes?

Also i have checked my tunnel's log files, it says: "Connection closed by remote side". Meaning either my tunnel server had an error and closed the connection, or the teamspeak server closed the connection for some reason.

msjwozere
27-11-2006, 15:43
/bump .

Reedy Boy
27-11-2006, 17:16
I was thinking with the tunnel that you would be able to connect to the other PC's lan IP..

You could try putting the PC in the DMZ....

msjwozere
28-11-2006, 16:02
aaah yeah i do see what you mean, i tried both but still no luck.

Might have to try something else - maybe a different tunnel.

Thanks for the help though.

Kingfish
28-11-2006, 18:06
Is there a way to test to make sure that it's actually going through the tunnel and not skipping it?

I looked at the site, and there's a previous version which the guy says is more stable.

Going there, it mentions editing the hosts file.

maybe add:

127.0.0.1 tsx.server.com

??

heh.. I guess the best solution is to find a person out there that has a working setup.

msjwozere
29-11-2006, 20:02
Yeah i thought about using the older tunnel, but you can only forward to a single IP with that, so its not much use for CS where i might want to go on 10 different server that all use 27015.

It might work for TS where i only have the single IP to go to, i will install it on the server computer, might work out i end up having 2 separate tunnels running on the machine.

Might work...

Reedy Boy
29-11-2006, 20:42
Are you able to use a VPN to the remote pc?

And use that as the default gateway - XP includes the feature to create a VPN to it....

msjwozere
04-12-2006, 16:42
I have set up a TS server on the pc, it still cannot connect through the tunnel to it, using the LAN IP, i've tried VPN but it won't connect - think windows wants to use UDP or something. :mad:

Most unsatisfactory, thanks for trying though :)