Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to proxify a Citrix connexion. As you may know, you can have shared file under Citrix ICA (shared between the client and the server), and I'd like to use this possibility to mount a "tunnel" between the 2.

The idea would be to have the following :

                   on the client side )
any program => 'in' => shared file(s) => 'out' => remote network
                      ( on the server side

Any idea how to do this? It seems to me that socat should be able to do the trick, I'm diving into its man right now, but can't figure out everything yet.

Thanks for any input.

For the moment I'm stuck with :

On one side:

socat -x -v -d -d tcp-listen:10002,fork,reuseaddr gopen:read.txt!!write.txt

On the other side:

socat -x -v -d -d gopen:write.txt!!read.txt tcp-connect:www.google.com:80

however, this doesnt work at all: cmd1 fails when connecting in (unknown device/address "write.txt") and cmd2 fails at launch (unknown device/address "read.txt")

share|improve this question

2 Answers 2

If you can connect to a remote host on ssh from the citrix server, I would suggest to launch a socks proxy and then set up a ssh tunnel with a remote port forward.

share|improve this answer
    
Actually no, the CITRIX is totally isolated from other network and the ICA connection is the only thing allowed in by the firewall. –  Choumarin Aug 12 '13 at 8:13
up vote 0 down vote accepted

Foudn this little very nice tools that does the job nicely : https://labs.mwrinfosecurity.com/tools/tcp-over-file-tunnel/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.