ssh port redirection ?

Ben Boulanger ben at blackavar.com
Wed Sep 25 14:31:23 EDT 2002


On Wed, 25 Sep 2002 plussier at mindspring.com wrote:
> 	- run fetchmail on system A, which will redirect the query to system B. 
> 	- have system B intercept that query and pass it on to the 
> 	  proper pop server on the net
> 	- take the mail off the server using B, but pass it back to 
> 	  system A

from system A:
	ssh systemB -R 110:popserver:110

systemB will now listen on port 110 and forward traffic on to popserver on 
port 110.  (SystemB has to not be listening on port 110, of course.. and 
since it's a privileged port, you'd have to ssh as root.)

Ben

-- 

Simulated disorder postulates perfect discipline; simulated fear postulates
courage; simulated weakness postulates strength. 
  ~ Sun Tzu





More information about the gnhlug-discuss mailing list