diff --git a/Installation behind a firewall.rest b/Installation-behind-a-firewall.rest similarity index 83% rename from Installation behind a firewall.rest rename to Installation-behind-a-firewall.rest index cb98e1a..1ed1067 100644 --- a/Installation behind a firewall.rest +++ b/Installation-behind-a-firewall.rest @@ -20,17 +20,19 @@ make -6) Add the ``libtsocks.so.1.8`` to the ``LD_PRELOAD`` environment variable:: + +6) Start a `tsocks` ssh tunnel:: + + ssh -fN -D 10000 user@external-server.com + +7) Add the ``libtsocks.so.1.8`` to the ``LD_PRELOAD`` environment variable:: export LD_PRELOAD="${PWD}/libtsocks.so.1.8" -7) Create a custom curl command to set the tsocks option: open a file named +8) Create a custom curl command to set the tsocks option: open a file named ``curl``, which is accessible from your ``PATH`` environment variable before the real ``curl`` command, and fill this file with:: #!/bin/bash /usr/bin/curl --socks5 127.0.0.1:10000 $@ -8) Start a `tsocks` ssh tunnel:: - - ssh -fN -D 10000 user@external-server.com