[X-Unix] SSH tunnel vs. 10.3.8 vs. port forwarding

Jeff Winchester jeffw at tampabay.rr.com
Sun Mar 6 09:50:15 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am trying to set up an SSH tunnel for E-mail and am running into 
issues, and I'm hoping someone here may be able to assist me. Here's 
what I'm doing.

1. I'm using SSH Tunnel Manager 2.0b3.

2. I'm using 10.3.8, ssh version appears to be 
"OpenSSH_3.6.1p1+CAN-2004-0175, SSH protocols 1.5/2.0, OpenSSL 
0x0090702f"

3. I set up a tunnel using an SSH server which I have access to (on the 
internet, not local). Port forwarding was set up as follows:

Local Port		Host					Remote Port
1100		[ISP POP3 Server]		110
2500		[ISP SMTP Server]		25

I can then start the tunnel and it seems to work correctly--no errors 
from the SSH Tunnel Manager. If I set up my mail client to use 
"localhost" for POP3 and SMTP servers, it can't read data (I believe is 
the message).

I would expect, once the tunnel is running, to be able to telnet to 
localhost ports 1100 or 2500 and see the ISP's POP3 or SMTP, but I get 
something to the effect of:

	marius:~ jeff$ telnet localhost 1100
	Trying ::1...
	Connected to localhost.
	Escape character is '^]'.
	Connection closed by foreign host.

and the connection is immediately closed. Am I missing something here 
in my setup? My first thought was that I may have hosts.allow or .deny 
set up to disallow connections, but then I realized the connection was 
actually being made and then dropped.

Does anyone have any ideas here? I think the tunnel works; I think the 
forwarding does not.

Thanks!


- -- 
Jeff Winchester
jeffw at tampabay.rr.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCK0LYrwFnct83o/4RAp/2AKDA6B/ghIz/Nr1jdcjWw0KF9aKC4wCgtKbk
A/QcRq/lXelLfWQOgoKbUB8=
=5Jjq
-----END PGP SIGNATURE-----



More information about the X-Unix mailing list