PDA

View Full Version : Getting neocron to work behind a corporate proxy/firewall!!



darkservent
23-11-03, 20:40
Hi just wanna now if theres a way to get neocron to work behind a HTTP proxy, or if possible get it to work through HTTP Tunnel. Devs input on this would be appreciated.

jernau
23-11-03, 20:50
I seriously doubt it.

NC uses UDP and TCP and is not HTTP.

Cliffraiser
23-11-03, 20:51
to do what? create a wallhack? i dont see any other use for froxys then doing something dodgy, so i hope nobody tells you if there is a way

darkservent
23-11-03, 21:01
Originally posted by Cliffraiser
to do what? create a wallhack? i dont see any other use for froxys then doing something dodgy, so i hope nobody tells you if there is a way


ERM cliff u on drugs or wot, im currently in uni and the uni network is stoppin me from playin neocron. There must be a way the devs would now of.

Oath
23-11-03, 21:13
Originally posted by darkservent
ERM cliff u on drugs or wot, im currently in uni and the uni network is stoppin me from playin neocron. There must be a way the devs would now of. *Smacks Serv around with a breezeblock*

Dude, uni is for UNI work...........not cron.

darkservent
23-11-03, 21:16
Originally posted by Oath
*Smacks Serv around with a breezeblock*

Dude, uni is for UNI work...........not cron.

V funny haha. No im serious i wanna check out wots goin on in NC and its like impossible to connect ere. I do deserve a break from work u now and im not plannin to play for long just for 5 mins.

CarniFlex
23-11-03, 21:19
im not plannin to play for long just for 5 mins.

I used that exscuse on my ex girlfriend... notice EX...

darkservent
23-11-03, 21:21
man stick to the topic guys.

kreal
23-11-03, 21:37
There is a way... i'm working on some nifty little trick to override the school proxy...

so far i'v been able to get access to all via the Internet Explorer. but the thing stopping me from connecting to Neocron is that i can't define a Proxy in Neo.. as i can in Internet explorer.

So i'v been reading a bit on transparent proxys, but it doesnt seem to work since i can't define my transparent proxy as the gateway on my school computer. because it cuts my inet connection doh! =)

Anyway i will keep trying, to see if i can do something else.. like a Vpn connection home and then on we go.. but the Vpn ports at the school is closed to so!

But anyhow i'll post my trys for you if you want =)

Regarts Kreal

darkservent
23-11-03, 21:43
thatll be cool just repost it and PM me. Any help from the developers abt setting it through neocron would help.

Dont Mess
23-11-03, 22:50
Originally posted by Oath


Dude, uni is for UNI work...........not cron.


m8 yr tellin me u see dark here is my rl brother and he took the neocron cds off me so that i cant play :( thinkin i wont do my work BUT NOW he wants the CDs 2 play. bit nifty. did i 4get 2 mention im getting staright As in my uni work :p

p.s I AGREE with cliff

darkservent
23-11-03, 23:43
Dilly shat up ur dead meat 2moro now plz stick to the topic or ill get my GM stolen illegal banstick out.

=SSC=Gandalf
24-11-03, 00:21
http://www.neocron.com/index.php?name=NeoContent&op=modload&file=index&pageID=36

scroll down that a bit, you might find help.

Susan Ivanova
24-11-03, 00:52
Originally posted by darkservent
Hi just wanna now if theres a way to get neocron to work behind a HTTP proxy, or if possible get it to work through HTTP Tunnel. Devs input on this would be appreciated.
A tunnel always consists of two end points. One end point would be most probably your PC. Now you would need another end point somewhere beyond your proxy.

Rev
24-11-03, 00:53
Hey Dark,

I too have exactly the same problem as you, at uni and cant play do too frikin proxy.

I did try using Http-tunnel with sockscap32, and this would allow me to get the launcher up and start the game, (which it wouldnt do b4), but when i try to connect (goto planet selection menu) its just never gets there, and cuts out sayin sumin like Couldnt connect to server.

I dunno if u managed to get this far or not, but like you i would really like to get it workin. (havent even tried out the PE/SPY Pa yet). If ya manage a way please PM me.

Rev

PS. What uni u at?

Susan Ivanova
24-11-03, 00:59
Originally posted by Rev
I did try using Http-tunnel with sockscap32[...]
Whoa, hold it there. Socks and http tunnel? Those two have nothing in common.
SocksCap32 will only help you, when your ISP/University is running a socks proxy. A http tunnel doesn't have anything to do with a proxy. It's a tunnel (duh!) It's a point to point connection which you're using to forward traffic thru it. As I stated before. A tunnel needs two end points.

jernau
24-11-03, 01:04
Originally posted by Cliffraiser
to do what? create a wallhack? i dont see any other use for froxys then doing something dodgy, so i hope nobody tells you if there is a way

Wtf are you on about? Proxies of various types are a vital part of the internet.

Proxies 101 :

What are they? : A proxy is a system that does a job on your behalf. In the case of a web (or HTTP) proxy it collects web pages for you.

Why use them? : 2 main reasons - 1) Save bandwidth. If two people behind a proxy want the same page the proxy ensures it is only downloaded once hence saving on net traffice. Most web proxies also cache pages (ie keep copies). As an example the web proxy at my office is 40% efficient. That mean that 40% of the time if someone wants a page it comes from a local copy without using our net-link at all. 2) Single secure point of access. Why put 100 PCs onto the internet if one is enough. Web proxies are a very efficient gateway for protecting corporate networks.

What about cron? : That depends on the proxy. Chances are you are stuffed though. Reason being that a HTTP/Web proxy only handles HTTP requests. The reason you put it into the proxy box in things like IE is so that IE knows not to go to the web for pages but to go to the proxy. This will only work for protocols specifically supported by the proxy server. As cron uses a bespoke protocol you'll never get it through a wen proxy.

Is there no chance? : Maybe - If the sysops will let you play with the proxy config but tbh I seriously doubt it. There is certainly no way to get through the proxy itself. It may be possible to by-pass it but I wouldn't let anyone do that on my system.






edit -

Originally posted by kreal
There is a way... i'm working on some nifty little trick to override the school proxy...

so far i'v been able to get access to all via the Internet Explorer. but the thing stopping me from connecting to Neocron is that i can't define a Proxy in Neo.. as i can in Internet explorer.

See above.


Originally posted by kreal
So i'v been reading a bit on transparent proxys, but it doesnt seem to work since i can't define my transparent proxy as the gateway on my school computer. because it cuts my inet connection doh! =)

If you tried to give an external (not on your LAN) address as a gateway it will of course fail. The gateway is like the door from your LAN to the web. You can't leave your house using my front door right? - same thing here. ;)


Originally posted by kreal
Anyway i will keep trying, to see if i can do something else.. like a Vpn connection home and then on we go.. but the Vpn ports at the school is closed to so!

You can't proxy a VPN connection. You'll need the gateway address of your local network to even have a chance of getting a VPN link out. Even then any sysop worth his coffee won't have left it open enough for you to do it. It being a school you may get lucky wrt the config but you'll probably not get lucky wrt the NAT router which almost certainly needs to be configured for VPN access, even outbound. Even if you get out on a VPN you'll have to have a VPN server outside their network that can route cron back up the VPN to you. This is not trivial.

If I were you I'd try to get hold of the gateway address on the LAN and test it to see how open it is. Chances are you can get cron through it unless the IT people are really on the ball. Bear in mind that you may get through but set off all manner of alarms if they are on the ball. I know a guy who almost got kicked off his degree for doing no worse than this so be careful.


edit 2-

Originally posted by Rev
I did try using Http-tunnel with sockscap32, and this would allow me to get the launcher up and start the game, (which it wouldnt do b4), but when i try to connect (goto planet selection menu) its just never gets there, and cuts out sayin sumin like Couldnt connect to server.


The launcher is just an embedded browser so all it needs is an HTTP link. This is what proxies are there for so this will work unless they actively block the neocron domain.

When you try to launch the main program it then has to talk to the NC game servers - this part is proprietary so proxies don't understand it. It also involves a UDP element as well as IP so you need a proper connection not a web/HTTP proxy (HTTP is an IP protocol).


/edit 3 - I think this is my longest ever post. How dull is that.

darkservent
24-11-03, 02:24
Originally posted by Rev
Hey Dark,

I too have exactly the same problem as you, at uni and cant play do too frikin proxy.

I did try using Http-tunnel with sockscap32, and this would allow me to get the launcher up and start the game, (which it wouldnt do b4), but when i try to connect (goto planet selection menu) its just never gets there, and cuts out sayin sumin like Couldnt connect to server.

I dunno if u managed to get this far or not, but like you i would really like to get it workin. (havent even tried out the PE/SPY Pa yet). If ya manage a way please PM me.

Rev

PS. What uni u at?

Yea Im lookin at the link above it seems to have some excellent info. Lets see if i can get this workin. Oh i goto Brunel University. Check it out ppl www.brunel.ac.uk ;)

kreal
24-11-03, 02:31
okie okie Relax now :D

no you can't proxy a vpn connection doh!

this is how i'v got it to allow all access in internet explorer or any other program i can define Proxy in like Ftp etc etc.

First: make a connection to your Proxy/Gateway tru SocksCap, ok we have connection to the inet.

Second: Open 3party program with SocksCap and define your Full access/open Proxy. In my case i have my own at home.

As for the Vpn connection. i have/made my own Vpn server. but i still have to find a vpn client that can connect tru Sockscap and furder more allow me to define my Proxy in this Vpn client...

bla bla bla Working working will work

Regards kreal

Lafiel
24-11-03, 02:35
we dont want you FF playin anyway :P

kreal
24-11-03, 02:36
LOOL good one hrhr

EDIT: sorry couldnt help myself :lol:

darkservent
24-11-03, 02:41
Originally posted by Rev
Hey Dark,

I too have exactly the same problem as you, at uni and cant play do too frikin proxy.

I did try using Http-tunnel with sockscap32, and this would allow me to get the launcher up and start the game, (which it wouldnt do b4), but when i try to connect (goto planet selection menu) its just never gets there, and cuts out sayin sumin like Couldnt connect to server.

I dunno if u managed to get this far or not, but like you i would really like to get it workin. (havent even tried out the PE/SPY Pa yet). If ya manage a way please PM me.

Rev

PS. What uni u at?

ok i see wot u try to do, u used socks cap to interface the client with htpp tunnel. I just tried that but its still v unstable , i just got to the sync screen but nothin is happenin.

darkservent
24-11-03, 02:44
As u can see im suspended and i wont be playin much cause i have a HUGE project on me hands that involves lookin at the challanges of distributed systems and how they can be applied to commercial stock systems. All i want to do is to like chat to ppl when im free!!!!!:eek: :eek:

Dont Mess
24-11-03, 03:09
OMG LOOK DOUBLE POST READ THE RULES U NOOB

jernau
24-11-03, 03:10
Originally posted by kreal

Second: Open 3party program with SocksCap and define your Full access/open Proxy. In my case i have my own at home.

As for the Vpn connection. i have/made my own Vpn server. but i still have to find a vpn client that can connect tru Sockscap and furder more allow me to define my Proxy in this Vpn client...



What exactly are you running at home?

What kind of VPN server are you trying to use - PPTP or L2TP?

I'm extremely sceptical you'll ever authenticate VPN traffic that has passed through a SOCKS server unless it has a cludge to allow it to bypass itself.

Why do you need the VPN part though? If you are traversing the SOCKS box then you are about as out and clear as you can get. If it doesn't work then it's probably a protocol limitation in the SOCKS server.

NeoChick
24-11-03, 04:07
Very good thread, I have the same problem and am hanging out for a solution

I did not have that problem playing SWG, so is this characteristic of how NC is set up?

CrazyMan
24-11-03, 09:59
Originally posted by Rev
Hey Dark,

I too have exactly the same problem as you, at uni and cant play do too frikin proxy.

I did try using Http-tunnel with sockscap32, and this would allow me to get the launcher up and start the game, (which it wouldnt do b4), but when i try to connect (goto planet selection menu) its just never gets there, and cuts out sayin sumin like Couldnt connect to server.

I dunno if u managed to get this far or not, but like you i would really like to get it workin. (havent even tried out the PE/SPY Pa yet). If ya manage a way please PM me.

Rev

PS. What uni u at?


Hehe, I had pretty much same problem here ---> wanted to play at work, sockscap32 is the best tool available, so:

1) Connect through launcher and make sure the game is up-to-date.
2) Close it.
3) Run client.exe through the sockscap.
4) Login - works fine! Yahoo I see servers and my chars!!!
5) Bugger - in never syncs in, so my guess is that NC will never work through proxy tunneling.

Other games work perfectly through sockscap.

By the way - I was referring to socks4 proxy that is installed in our firewall - there's no chance of getting through HTML proxy.

Maybe somebody at KK has anything to say on this??? o_O

jernau
24-11-03, 11:31
As I said before it is failing at the point where the Launcher.exe (TCP only) hands over to client.exe (TCP&UDP).

It could be either the change of application or protocol that is causing the problem. Sockscap claims it can deal with UDP (I remain sceptical) so try focusing on the application side.

Susan Ivanova
24-11-03, 14:03
Originally posted by jernau
As I said before it is failing at the point where the Launcher.exe (TCP only) hands over to client.exe (TCP&UDP).

It could be either the change of application or protocol that is causing the problem. Sockscap claims it can deal with UDP (I remain sceptical) so try focusing on the application side.
Maybe we should clarify that it's client.exe that needs to be socksified with SocksCap32. If you're wrapping the launcher in SocksCap32 then only the launcher will use the configured socks proxy. But the neocron client will still try to reach the servers directly. So instead socksify client.exe and start it without the launcher.

CrazyMan
24-11-03, 14:08
Originally posted by Susan Ivanova
Maybe we should clarify that it's client.exe that needs to be socksified with SocksCap32. If you're wrapping the launcher in SocksCap32 then only the launcher will use the configured socks proxy. But the neocron client will still try to reach the servers directly. So instead socksify client.exe and start it without the launcher.

Yes, that's how I did it - it lets me login, choose server/character. But it never syncs in!!! I see the screen with word syncronizing...

.....and then a minute later it kicks back into main menu with a error (different errors each time, which is also weird), like failed to creat world, or connection to worldserver was lost or couldn't be estableshed, blah blah blah, etc...

damn and I do want to play from work sometime, nice speed+nice PC :mad:

CrazyMan
24-11-03, 15:20
Update:

ONOZ!!! W00T!!!! Just installed version 2.35 of sockscap (2.34 was meant to expire in 6 days anyways). And OMG!!! Actually it worked out!!!! AMAZING!!! heheeh

Excellent! Now I have something to do when it's quiet ar work
:lol:

Psyco Groupie
25-11-03, 00:24
mine wont work from behind a http proxy :(

Im in Brum, england btw :P

darkservent
25-11-03, 02:15
hmm im behind a http proxy so im havin to use http tunnel with sockscap. I was lookin at the program desproxy. have to see wot thats all abt. Otherwise keep the ideas flowin. Maybe well all get somewhere ere.

MindScream
25-11-03, 17:19
I would suggest 'socksifying' client.exe is not the answer. Nor is http-tunnel a particularly effective SSL-tunneling app.

I have not tried with NC (and cba as I'm lazy and have no desire to play it at work) but with other apps I've had more success (at work through a corporate http proxy) with Httport ( http://www.htthost.com/httport3snf2.exe )

You can set up port mappings with this tunneling software, so for example if you wanted to retrieve POP3 email at work, you simply set up a port map in httport that says any connections received locally on port 110 - map to ip adress of internet-based POP3 server on port 110 and tunnel using SSL through IP adress of corporate proxy. You then set up your email client to connect to the ip address of the pc running httport (127.0.0.1 if you are running it on your local machine) and it works.

My thinking was along the lines of using netstat (or even better TCPView from www.sysinternals.com) while running NC - seeing what connections it makes - creating relevant port maps in httport - then changing the ini files in the NC directory to point to the address of the PC running httport (probably 127.0.0.1 for most).

Good thing about httport is that if you dont want to rely on the public SSL end-point they let you use, if you have a PC at home on broadband you can install your own one ( http://www.htthost.com/htthost171personal.zip ) and have unrestricted b/w :)

Unfortunately the most of the httport site is down (downloads working but News, support, forum etc down) but luckily the good old google cache kept the juicy content: http://www.google.com/search?q=cache:VG4nYyPRMecJ:www.htthost.com/httport_3_faq.htm+httport&hl=en&ie=UTF-8

Hope this helps.

MindScream - Saturn - Neocron nub

rob444
26-11-03, 06:34
I used sockscap as neocron.com suggested, it took me 3 hours to find a suitable SOCKS5 server that was FREE. It was located in taiwan and it worked very good :)

MindScream
26-11-03, 14:14
Originally posted by rob444
I used sockscap as neocron.com suggested, it took me 3 hours to find a suitable SOCKS5 server that was FREE. It was located in taiwan and it worked very good :)

Good for you :) ... but the purpose of this thread is to try and work out how to get NC to tunnel through an HTTP proxy.

darkservent
29-11-03, 17:42
hmm interestin point made above abt httport. will try that out. keep the info comin ppl. all is appreciated.