ssh port redirection ?
Michael O'Donnell
mod+gnhlug at std.com
Wed Sep 25 14:23:14 EDT 2002
>IOW, I want to:
>
> - 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
>
> ----- ----- -----
> | |_________| |_________| POP/|
> | A | | B | | NET |
> ----- ----- -----
>
>Any ideas how to do this?
This oughta work:
While standing on systemA you say:
ssh -o 'LocalForward somePortNumber popServer:110' systemB
...and then you'd tell fetchmail on systemA to connect
to localhost:somePortNumber
More information about the gnhlug-discuss
mailing list