How to proxy almost everything over an SSH tunnel
A. Open the tunnel
- ssh $HOST -CD 8080
B. Install tsocks
0) aptitude install tsocks 0) edit /etc/tsocks.conf 00) comment out the "path { ... }" part 00) change the server settings to:
server = 127.0.0.1 server_type = 4 server_port = 8080
C. Proxy applications through the tunnel
- tsocks gaim
Note:
It doesn't work for gpg --send-keys and gpg --recv-keys
Enrico Zini