Security Basics mailing list archives

Re: Tunneling SMTP Traffic Via SSH Question


From: "lists" <lists () fuse net>
Date: Fri, 16 Jul 2004 15:16:21 -0400

Since the server with ssh and the mail server seem to be the same, try to
set the destination IP address of your tunnel to the local address of
mail.myserver.com (i.e. 192.168.1.1:25).  You may even want to try
127.0.0.1:25 as the tunnel destination.

blu


----- Original Message ----- 
From: <dsimcik () bentley edu>
To: <security-basics () securityfocus com>
Sent: Thursday, July 15, 2004 1:39 PM
Subject: Tunneling SMTP Traffic Via SSH Question


Hi,
        My apologies if this is a dumb question -- I'm attempting to
forward port 25 (SMTP) over SSH via Putty to an off-campus mail server.
Here are my connection parameters:

Session> Hostname (for SSH): mail.myserver.com          Port: 22
SSH > Preferred SSH protocol version: 2
Tunnels> Forwarded ports: localhost port 3225 to Destination
mail.myserver.com:25

When I try testing the connection in Outlook it returns an error saying
that Outlook cannot connect to the server. I know that out our outbound
WAN connection is blocking outbound port 25 traffic and I was hoping that
I could get around that via SSH forwarding. Firewalls can't peer into the
tunneled packet headers, can they? Help!

Cheers,
DTS


--------------------------------------------------------------------------
-
Ethical Hacking at the InfoSec Institute. Mention this ad and get $545 off
any course! All of our class sizes are guaranteed to be 10 students or
less
to facilitate one-on-one interaction with one of our expert instructors.
Attend a course taught by an expert instructor with years of in-the-field
pen testing experience in our state of the art hacking lab. Master the
skills
of an Ethical Hacker to better assess the security of your organization.
Visit us at:
http://www.infosecinstitute.com/courses/ethical_hacking_training.html
--------------------------------------------------------------------------
--



---------------------------------------------------------------------------
Ethical Hacking at the InfoSec Institute. Mention this ad and get $545 off 
any course! All of our class sizes are guaranteed to be 10 students or less 
to facilitate one-on-one interaction with one of our expert instructors. 
Attend a course taught by an expert instructor with years of in-the-field 
pen testing experience in our state of the art hacking lab. Master the skills 
of an Ethical Hacker to better assess the security of your organization. 
Visit us at: 
http://www.infosecinstitute.com/courses/ethical_hacking_training.html
----------------------------------------------------------------------------


Current thread: