anyway to tunnel all network traffic of a single app via an ssh?
i have an ssh tunnel setup fine but i wan't to be able to send all traffic from one app through it.. can it be done?
|
Hi,
Quote:
Eg. Create the tunnel Code:
ssh -f -N -D localhost:5555 myserver.some.where Code:
echo 'socks4 127.0.0.1 5555' >> /etc/proxychaings.conf Code:
proxychains someprogram Evo2. |
Hi,
one more thing, you don't need root for this since proxychains will also look for a config file in ~/.proxychains.conf Evo2. |
hmm tried that but just can't seem to get it to work :(
|
Hi,
Quote:
Evo2. |
Quote:
|
i ran the following command to open the socks proxy on port 5555:
Code:
ssh -f -N -D localhost:5555 server.ip Code:
socks4 127.0.0.1 5555 Code:
proxychains /usr/bin/google-chrome-stable this is the output via command line for the above command: http://pastie.org/pastes/8906135/tex...utkrtjfznfd2bw |
Hi,
ok from the pastebin I can see that libproxychains.so.3 is not being found. Was ldconfig run by the postinstall script? If not please try running it now (as root). You may also need to log out and back in again (but I'm just guessing here). If the above fails then _instead_ of running the proxychains script do: Code:
export LD_PRELOAD=/usr/lib/libproxychains.so.3 Evo2. |
/usr/lib/libproxychains.so.3 isn't on my system? :/
|
Hi,
what is the output of the following? Code:
find /usr/lib -name libproxychains.so.3 |
/usr/lib/x86_64-linux-gnu/libproxychains.so.3
|
Hi,
ok, so use that path. Evo2. |
sorry to sound dumb but what do i do with the following? :/
Code:
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libproxychains.so.3 |
Hi,
run it in a terminal replacing "COMMAND" with whatever command you want to run eg chrome-chrome-stable. Look at the contents of /usr/bin/sockproxy to understand why. Evo2. |
/usr/bin/sockproxy is empty :/
also same problem no internet access for the app although the libproxychains.so.3 error is gone: Code:
[22084:22134:0311/045814:ERROR:download.cc(356)] PostClientToServerMessage() failed during GetUpdates |
All times are GMT -5. The time now is 06:09 AM. |