[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: port forwarding question: firewall or ssh?



On Thu, 2003-08-28 at 04:35, Jerome Lacoste wrote:
> Hi,
> 
> a friend of mine has problems accessing a mail server from his company 
> but he can access my server.
> 
> I thought that I could enable port forwarding to solve his problem.
> 
> E.g. 
> 
> D-S-MS
> 
> He wants to access the mail server (MS) from his Desktop (D). My Server
> (S) is in the between.
> 
> I open a port on my firewall, let's say 12345 and let the user forward
> the MS:25 port on that port. Note the MS server doesn't have ssh on.
> Then instead of reading mail from MS:25 he reads it from S:12345.
> 
> Can I use port forwarding at the firewall level, or should I just use
> SSH to do so?

You can use ssh.  The downside to extensive use of ssh is that 
you could wind up shoving most packets thru port 22.  The whole 
purpose of the firewall is pretty much defeated then, though.

Thus, if you wind up tunneling many ports thru 22, it might be
better to use a VPN.

-- 
-----------------------------------------------------------------
Ron Johnson, Jr. ron.l.johnson@cox.net
Jefferson, LA USA

"The greatest dangers to liberty lurk in insidious encroachment 
by men of zeal, well-meaning, but without understanding."
Justice Louis Brandeis, dissenting, Olmstead v US (1928)



Reply to: