Forum / General Discussions / TCP proxy usage
Tagged: tcp proxy
- This topic has 7 replies, 3 voices, and was last updated 2 years, 9 months ago by Bilbotine.
-
AuthorPosts
-
January 11, 2022 at 16:28 #37008morphinParticipant
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?
January 12, 2022 at 13:34 #37017TomParticipantHello,
In order to allow us to investigate, can you tell us more about your configuration?Regards
TomJanuary 13, 2022 at 09:37 #37029morphinParticipantThanks for the answer Tom!
To simplify my question: I’m looking for something like “loadbalanceinfo:s:tsv” windows RDP parameter.
January 13, 2022 at 15:05 #37040BilbotineParticipantHello 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.
January 13, 2022 at 16:11 #37041morphinParticipantHello 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?
January 13, 2022 at 18:32 #37043BilbotineParticipantHello 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)
January 13, 2022 at 18:46 #37044morphinParticipantYes 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?
January 14, 2022 at 18:00 #37054BilbotineParticipantHello 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!
-
AuthorPosts
This topic was marked as solved, you can't post.