Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2002 15:40:13 -0700 (PDT)
From:      Derek Sailor <dereksailor@yahoo.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Unable to connect to servers outside of intranet
Message-ID:  <20020813224013.94996.qmail@web20511.mail.yahoo.com>
In-Reply-To: <20020812102104.GD7021@happy-idiot-talk.infracaninophi>

next in thread | previous in thread | raw e-mail | index | archive | help

--- Matthew Seaman <m.seaman@infracaninophile.co.uk>
wrote:
> On Sun, Aug 11, 2002 at 08:02:11PM -0700, Derek
> Sailor wrote:
> 
> > I have two server services running, sshd and ftpd.
> 
> > >From my internal network (192.168.0.x) on
> interface
> > de0 I'm able to connect fine.  However, from the
> > internet (on my AT&T broadband cable modem) on
> > interface de1 I'm unable to connect at all.  
> 
> This smells like one of two things to me  --- mostly
> because you've
> eliminated pretty much all the other options in your
> quite excellent
> report.
> 
> Second option is the NAT configuration on your
> machine.
> 
> The problem comes when the connection is initiated
> from the outside
> --- what address should natd forward the packets to?
>  There are
> several '-redirect' options given in the natd(8) man
> page in order to
> solve this problem.  In your case, I think all you
> need to do is
> redirect tcp traffic on ports 20 (ftp-data), 21
> (ftp) and 22 (ssh) to
> the internal interface of your machine, by adding
> 
>     --redirect_port tcp 192.168.0.1:20-22 20-22
> 
> to the natd flags (assuming 192.168.0.1 is the
> address of your de0
> interface).
> 
> 	Cheers,
> 
> 	Matthew


Duh!  I never thought about the natd getting confused
and dropping the unrequested packets! This indeed
fixed the problem completely.  Thanks so much for your
help Matthew!!!!

Derek

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020813224013.94996.qmail>