Playing nexuiz over a proxy.

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Fri Jan 04, 2008 3:53 am

  • I've heard from several people that it's possible to do this, specifically over a socks5 proxy, and I was wondering if anyone had any definite info on whether or not this is possible. I know how to set up an SSH proxy and forward ports, but I don't know how to integrate this with Nexuiz.
    User avatar
    MrAwesome
    Newbie
     
    Posts: 2
    Joined: Fri Dec 28, 2007 8:09 pm
    Location: Noportland

Fri Jan 04, 2008 6:26 am

  • I have no idea who told you this, as it is wrong. Nexuiz and about every other game uses UDP, it won't be possible to get that through a ssh proxy.

    In theory, SOCKS5 supports UDP, but ssh's proxy mode (ssh -D) doesn't. No idea if any of the SOCKSifier preload libraries (tsocks, socksify for example) support UDP.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Fri Jan 04, 2008 8:48 am

  • I can play Nexuiz over a SOCKS5 proxy without problems. You will need a software that wraps nexuiz to allow this. For windows XP there is FreeCap or SocksCap which can do that.
    IRC quote:
    [kojn] I've been coming a bit more recently
    [kojn] she took it the dirty way
    GreEn`mArine
    Forum addon
     
    Posts: 1509
    Joined: Tue Feb 28, 2006 9:33 pm
    Location: Germany

Sun Jan 06, 2008 4:32 am

  • GreEn`mArine wrote:I can play Nexuiz over a SOCKS5 proxy without problems. You will need a software that wraps nexuiz to allow this. For windows XP there is FreeCap or SocksCap which can do that.


    Do you know of any programs like those for linux?
    DOWN WITH THE MAN
    ping -fs3000 google.com
    User avatar
    MrAwesome
    Newbie
     
    Posts: 2
    Joined: Fri Dec 28, 2007 8:09 pm
    Location: Noportland

Sun Jan 06, 2008 9:04 am

  • of course not :-)

    but a linux freak should be able to answer this with ease 8)
    IRC quote:
    [kojn] I've been coming a bit more recently
    [kojn] she took it the dirty way
    GreEn`mArine
    Forum addon
     
    Posts: 1509
    Joined: Tue Feb 28, 2006 9:33 pm
    Location: Germany

Sun Jan 06, 2008 11:48 am

  • GreEn`mArine wrote:but a linux freak should be able to answer this with ease 8)
    :)
    Spaceman
    Alien trapper
     
    Posts: 264
    Joined: Tue Aug 28, 2007 10:53 am

Sun Jan 06, 2008 12:09 pm

  • Nope, no idea. Never used SOCKS for anything serious. You may want to try tsocks or socksify.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue Apr 22, 2008 7:15 am

  • Hello. First post here. Any ideas how to get Nexuiz working with Squid?
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am

Tue Apr 22, 2008 1:16 pm

  • MrAwesome wrote:Do you know of any programs like those for linux?

    I think you just set up an internal network using tun, and route that through a connection that is configured to use a proxy. I could be wrong.

    Alien wrote:Hello. First post here. Any ideas how to get Nexuiz working with Squid?

    No, squid is an HTTP proxy.
    User avatar
    Psychcf
    Forum addon
     
    Posts: 1554
    Joined: Sun Dec 03, 2006 11:38 pm
    Location: NY, USA

Tue Apr 22, 2008 1:56 pm

  • I know that Squid is http proxy. I've tried http tunnel (several, which were found using google) but I can't get it to work so I've decided to ask here if somebody had similar problem. Would it be possible that nexuiz servers could support http encapsulated packets directly without the need of an external server?
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am

Tue Apr 22, 2008 3:20 pm

  • Certainly not. TCP is anything but good for playing games - so even if it DID work, you'd have an awfully bad connection (every single lost packet would hang the game for some seconds, for example). Really not worth it - and going over HTTP would make it even worse than just TCP.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue Apr 22, 2008 4:53 pm

  • Alien wrote:Would it be possible that nexuiz servers could support http encapsulated packets directly without the need of an external server?

    No, because Nexuiz (just like pretty much any other game) is using UDP, while http is send via TCP.
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Tue Apr 22, 2008 4:53 pm

Tue Apr 22, 2008 10:00 pm

  • It is not even worth trying. You will successfully go through the proxy with that, but have an AWFUL playing experience (bad and erratic ping, bad packet loss). Forget it, simply.

    The best quality you can achieve for such a tunnel is probably an IP over TCP tunnel via OpenVPN. But this does not go over HTTP.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Thu Apr 24, 2008 3:42 am

  • Then the only place where I can play Nexuiz is the bunker (home). :(
    Thanks for the help, anyway.
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am

Wed Apr 30, 2008 8:38 pm

Thu Aug 14, 2008 3:57 pm

  • MrAwesome wrote:
    GreEn`mArine wrote:I can play Nexuiz over a SOCKS5 proxy without problems. You will need a software that wraps nexuiz to allow this. For windows XP there is FreeCap or SocksCap which can do that.


    Do you know of any programs like those for linux?


    If you still want proxy wrapper under *nix, it's "proxychains" - worked perfectly - I couldn't beleive it worked so good at first :).
    AU
    Advanced member
     
    Posts: 60
    Joined: Wed Jan 02, 2008 7:37 pm

Mon Sep 15, 2008 5:02 pm

  • AU wrote:
    MrAwesome wrote:
    GreEn`mArine wrote:I can play Nexuiz over a SOCKS5 proxy without problems. You will need a software that wraps nexuiz to allow this. For windows XP there is FreeCap or SocksCap which can do that.


    Do you know of any programs like those for linux?


    If you still want proxy wrapper under *nix, it's "proxychains" - worked perfectly - I couldn't beleive it worked so good at first :).


    Hi! I tried proxychains, tsocks and some other but nothing work. Can you say in detail how do it? Show you proxychains.conf for example.
    Username
    Newbie
     
    Posts: 1
    Joined: Mon Sep 15, 2008 4:57 pm

Wed Sep 24, 2008 5:00 am

  • proxychains cannot bind to an UDP port, which is required for DP (which that way reuses the same socket and local port for multiple connections). Not sure if the others sockifiers can.

    Is anyone still interested in this and running Linux, or willing to install Perl on Windows (www.activestate.com)? I might write a simple UDP-over-HTTP-proxy application for you to try it out, so you can see how bad it works :P
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Wed Sep 24, 2008 7:14 am

  • The prototype:

    Install Perl.

    Download this script: http://emptyset.endoftheinternet.org/~r ... dp2http.pl

    Open a command prompt/terminal.

    Set the https_proxy environment variable:
    UNIX: export https_proxy=http://your.proxy.address:8080
    Windows: set https_proxy=http://your.proxy.address:8080

    Run it: perl udp2http.pl 141.2.16.23:26000 127.0.0.1:26000 1

    Start Nexuiz

    Open the Nexuiz console

    type: connect 127.0.0.1:26000

    You'll end up on my Nexuiz server, tunnelled through your HTTP proxy.

    Please tell me how well it works (regarding lag, packet loss). I do not expect it to work well, but if it works well enough for you, it might get turned into an option of the game (but server browsing will probably never be supported that way - you'd have to use the server browser websites and get the IPs from there).

    Note: it ONLY works if your proxy allows CONNECT requests to other ports than the SSL standard port (443). Some FTP clients like FileZilla require this to work through a proxy, though, so chances are it is enabled.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Wed Sep 24, 2008 1:16 pm

  • Not only got error but it also killed my wireless connection. Will try again.


    EDIT:

    Ok, worked very nice. And I mean VERY nice. Of course zero pl :P , but was way better than I expected. Game is playable. Ok, some movemement distortion exists but your server load didn't help that. :)

    Conclusion, could be an option (of course, last case solution).
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am

Wed Sep 24, 2008 4:45 pm

  • The server load was due to a runaway bitlbee process :P
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Sat Nov 08, 2008 6:40 am

  • divVerent wrote:proxychains cannot bind to an UDP port, which is required for DP (which that way reuses the same socket and local port for multiple connections)

    In my case it worked nevertheless... and worked really good, although, of course, serverlist was always empty and I needed to connect to IP manually. If you need my config anyway - this is it:
    Code: Select all
    # proxychains.conf  VER 3.1
    #
    #        HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS.
    #   

    # The option below identifies how the ProxyList is treated.
    # only one option should be uncommented at time,
    # otherwise the last appearing option will be accepted
    #
    #dynamic_chain
    #
    # Dynamic - Each connection will be done via chained proxies
    # all proxies chained in the order as they appear in the list
    # at least one proxy must be online to play in chain
    # (dead proxies are skipped)
    # otherwise EINTR is returned to the app
    #
    strict_chain
    #
    # Strict - Each connection will be done via chained proxies
    # all proxies chained in the order as they appear in the list
    # all proxies must be online to play in chain
    # otherwise EINTR is returned to the app
    #
    #random_chain
    #
    # Random - Each connection will be done via random proxy
    # (or proxy chain, see  chain_len) from the list.
    # this option is good to test your IDS :)

    # Make sense only if random_chain
    #chain_len = 2

    # Quiet mode (no output from library)
    #quiet_mode

    # Proxy DNS requests - no leak for DNS data
    proxy_dns

    # Some timeouts in milliseconds
    tcp_read_time_out 15000
    tcp_connect_time_out 8000

    # ProxyList format
    #       type  host  port [user pass]
    #       (values separated by 'tab' or 'blank')
    #
    #
    #        Examples:
    #
    #               socks5   192.168.67.78   1080   lamer   secret
    #      http   192.168.89.3   8080   justu   hidden
    #       socks4   192.168.1.49   1080
    #           http   192.168.39.93   8080   
    #      
    #
    #       proxy types: http, socks4, socks5
    #        ( auth types supported: "basic"-http  "user/pass"-socks )
    #
    [ProxyList]
    # add proxy here ...
    # meanwile
    # defaults set to "tor"
    #socks4      127.0.0.1 9050
    http      80.92.106.173 3128

    The proxy in config file is working and is near Moskow.
    AU
    Advanced member
     
    Posts: 60
    Joined: Wed Jan 02, 2008 7:37 pm

Sat Nov 08, 2008 9:17 am

  • Are you sure it actually went through the proxy? :P
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Sun Nov 09, 2008 6:08 am

  • Well, I'm definitely sure that without proxy I couldn't play over a network :P
    AU
    Advanced member
     
    Posts: 60
    Joined: Wed Jan 02, 2008 7:37 pm

Sat Dec 06, 2008 8:21 pm

  • Hi,
    What is the feasibility of trying some sort of udp-over-ssh trick like this:
    http://www.zarb.org/~gc/html/udp-in-ssh-tunneling.html
    ?

    I tried something like this on a local network, and the client would connect to the server, but then I could never get out of spectating mode.
    rbw42
    Newbie
     
    Posts: 3
    Joined: Thu Sep 25, 2008 1:24 am
    Location: Boston, USA



Return to Nexuiz - General Discussion




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest