Hmm je rajouterai que depuis ses versions 4, OpenSSH implémente un proxy SOCKS.
Dixit la page de man:
-D [bind_address:]port
Specifies a local ``dynamic'' application-level port forwarding.
This works by allocating a socket to listen to port on the local
side, optionally bound to the specified bind_address. Whenever a
connection is made to this port, the connection is forwarded over
the secure channel, and the application protocol is then used to
determine where to connect to from the remote machine. Currently
the SOCKS4 and SOCKS5 protocols are supported, and ssh will act
as a SOCKS server. Only root can forward privileged ports.
Dynamic port forwardings can also be specified in the configura-
tion file.
Après, tu n'as qu'à utiliser la lib tsocks qui te permet, à coup de LD_PRELOAD de socks-ifier toutes les applis de ton choix.
[^] # Re: La méthode la plus pratique à mes yeux
Posté par LaBienPensanceMaTuer . En réponse au message Accès POP+SMTP vers Free derrière un firewall. Évalué à 1.
Dixit la page de man:
Après, tu n'as qu'à utiliser la lib tsocks qui te permet, à coup de LD_PRELOAD de socks-ifier toutes les applis de ton choix.