Tsocks: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(No difference)
|
Latest revision as of 11:32, 7 May 2012
How to run apt-get with tsocks. Could be used for may applications
- install tsocks
- Create config file /etc/tsocks.conf
# local subnet local = 10.151.101.0/255.255.255.0 # Where you socks server is running. Your ssh socks server. server = 127.0.0.1 # Server type defaults to 4 so we need to specify it as 5 for this one server_type = 5 # The port defaults to 1080 but I've stated it here for clarity server_port = 1080
- In another terminal window create socks tunnel.
ssh -v -D 1080 ipmon10.ny1.jumpbox.com
- Enable terminal for socks. (you might have to change path)
export LD_PRELOAD=/lib/libtsocks.so
- Now run your command tsocks:fied.
sudo apt-get install vncviewer