TCP proxy usage

Forum / General Discussions / TCP proxy usage

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #37008
    morphin
    Participant

    Hello.

    We have a custom TCP proxy and we would like to grab our Ticket in connection process to redirect the client to the server.

    I’ve tried NX http proxy settings and I wrote our Ticket in “Http proxy Username” section and I can grab the ticket as I desired but I don’t want to use http proxy. I can redirect any connection If I can take the Routing information from Ticket. The ticket has IP, Username, Unique one time Ticket.

    So the question is: How can I write custom Ticket in NX connection file and read the Ticket on TCP proxy?

     

     

    #37017
    Tom
    Participant

    Hello,
    In order to allow us to investigate, can you tell us more about your configuration?

    Regards
    Tom

    #37029
    morphin
    Participant

    Thanks for the answer Tom!

    To simplify my question: I’m looking for something like “loadbalanceinfo:s:tsv” windows RDP parameter.

     

    #37040
    Bilbotine
    Participant

    Hello morphin,

    I am not sure of the product you are using, but did you try NoMachine Cloud Server ?

    Indeed it can act as some kind of proxy for the NX connections: NoMachine – Secure remote access and reliable desktop delivery across any data center or cloud

    You can download an evaluation version of the software to test it.

    #37041
    morphin
    Participant

    Hello Bilbotine.

    I don’t use any product for proxy. I have my own Remote Desktop Gateway proxy written in go. I’m using it for RDP and I have my own Ticket system. The only thing that I need is sending the ticket from nx client to the destination and grab it from first 10-50byte data.
    I can do that with writing the ticket in http-proxy username line but when I enable the http proxy Nx player throws an error because I use TCP proxy and I really don’t wanna set up http proxy (its easy, I can but I dont want to.)
    There is SOCKS option but I couldn’t find any doc about it.

    So my question is very easy: Is there anyway to send some data in first 0-100 byte or do you have TCP proxy option?

     

    #37043
    Bilbotine
    Participant

    Hello morphin,

    There is no way to include arbitrary data into first part of connections. However if you don’t want to use HTTP proxy a SOCKS proxy can be a good alternative, since it works with TCP connections.

    Please refer to the following links:

    SOCKS Proxy Primer: What Is SOCKs5 and Why Should You Use It? (securityintelligence.com)

    rfc1928 (ietf.org)

    #37044
    morphin
    Participant

    Yes Socks proxy will be answer but there is no doc or reference page for about it. Is it possible to use SOCKS proxy in connection file?

    #37054
    Bilbotine
    Participant

    Hello morphin,

    Yes, it’s possible to use SOCKS proxy in the connection file; however in version 7.X, the connection file has to be eddied manually.

    The following values have to be set:

    <option key=”Enable HTTP proxy” value=”true” />

    <option key=”HTTP proxy host” value=”hostname” />

    <option key=”HTTP proxy port” value=”8080″ />

    <option key=”HTTP proxy password” value=”password” />

    <option key=”HTTP proxy username” value=”username” />

    <option key=”Remember HTTP proxy password” value=”false” />

    <option key=”Manual proxy configuration type” value=”socks” />

    <option key=”Proxy configuration mode” value=”manual” />

     

    In the upcoming version 8.X, it will be possible to set all these fields in the GUI.

    Please let us know if this answer helps you!

Viewing 8 posts - 1 through 8 (of 8 total)

This topic was marked as solved, you can't post.