Differences between revisions 2 and 7 (spanning 5 versions)
Revision 2 as of 2005-07-13 21:51:42
Size: 598
Editor: anonymous
Comment:
Revision 7 as of 2021-08-30 22:56:30
Size: 766
Editor: ThiagoPezzo
Comment: add translation header
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## Auto-converted by kwiki2moinmoin v2005-10-07 #language en
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[pt_BR/HowtoProxyThroughSSH|Português (Brasil)]]-~
----
Line 7: Line 10:
0) aptitude install tsocks
0) edit /etc/tsocks.conf
00) comment out the "path { ... }" part
00) change the server settings to:{{{
 * aptitude install tsocks
 * edit /etc/tsocks.conf
  * comment out the "path { ... }" part
  * change the server settings to:
 
{{{
Line 17: Line 21:
 1. tsocks gaim  {{{
tsocks gaim
}}}
----
__Note :__
Line 19: Line 27:

Note:

It doesn't work for gpg --send-keys and gpg --recv-keys. For that, a solution is on http://wiki.debian.net/?["NetworkingInHEL"]
It doesn't work for gpg --send-keys and gpg --recv-keys. For that, a solution is on [[http://wiki.debconf.org/wiki/DebConf5NetworkingInHEL|NetworkingInHEL]]
Line 25: Line 30:
''Enrico Zini''
CategoryNetwork

Translation(s): English - Português (Brasil)


How to proxy almost everything over an SSH tunnel

A. Open the tunnel

  1. ssh $HOST -CD 8080

B. Install tsocks

  • aptitude install tsocks
  • edit /etc/tsocks.conf
    • comment out the "path { ... }" part
    • 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. For that, a solution is on NetworkingInHEL


CategoryNetwork