Re: FTP server behind router/gateway

2006-09-15 Thread Nikos Vassiliadis
On Thursday 14 September 2006 17:40, [EMAIL PROTECTED] wrote:
> I have a FreeBSD 6.1 box running behind a router/gateway.  When it tries
> to go into passive mode, it returns it's internal 192.168. ip address to
> the client which the client stupidly uses to try to connect to.  I've
> confirmed this by tyring to FTP from several external systems (windows &
> linux).  Is there anyway to get the FreeBSD box to return the external
> address without making it act as the router/gateway?

In addition to what Andreas said:

The problem is not the "router/gateway" in front of the ftp. The problem
is the internal address the ftp server has and the nat that the router has
to do. FreeBSD knows nothing about the external address... I think you'll
have better results getting a second IP address for your ftp server and
just route packets. Or you could search for an ftp server with this feature
and/or a router with a big bag of tricks(similar to ftp-proxy FreeBSD has)

I would go for a second IP address if that was a choice

Nikos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FTP server behind router/gateway

2006-09-14 Thread Andreas Rudisch

On Thu, 14 Sep 2006 16:40:18 +0200, <[EMAIL PROTECTED]> wrote:


I have a FreeBSD 6.1 box running behind a router/gateway.  When it tries
to go into passive mode, it returns it's internal 192.168. ip address to
the client which the client stupidly uses to try to connect to.  I've
confirmed this by tyring to FTP from several external systems (windows &
linux).  Is there anyway to get the FreeBSD box to return the external
address without making it act as the router/gateway?

Thanks,
Marty


Maybe this site will help a bit:

http://slacksite.com/other/ftp.html

Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FTP server behind router/gateway

2006-09-14 Thread Derek Ragona
That is more a matter for your router.  Your router should be wrapping the 
internal address with a public one.  Be sure you are forwarding all the 
ports needed for ftp.


-Derek


At 09:40 AM 9/14/2006, [EMAIL PROTECTED] wrote:

I have a FreeBSD 6.1 box running behind a router/gateway.  When it tries
to go into passive mode, it returns it's internal 192.168. ip address to
the client which the client stupidly uses to try to connect to.  I've
confirmed this by tyring to FTP from several external systems (windows &
linux).  Is there anyway to get the FreeBSD box to return the external
address without making it act as the router/gateway?

Thanks,
Marty

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FTP server behind router/gateway

2006-09-14 Thread billgg
I have a FreeBSD 6.1 box running behind a router/gateway.  When it tries
to go into passive mode, it returns it's internal 192.168. ip address to
the client which the client stupidly uses to try to connect to.  I've
confirmed this by tyring to FTP from several external systems (windows &
linux).  Is there anyway to get the FreeBSD box to return the external
address without making it act as the router/gateway?

Thanks,
Marty

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"