LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 04-16-2005, 10:36 AM   #1
jake3988
Member
 
Registered: Mar 2005
Location: Ohio
Distribution: Freebsd and Ubuntu
Posts: 69

Rep: Reputation: 17
Can't remotely ftp connect


When I try something remotely or within my house, I can connect fine.

My computer: ftp localhost, ftp <my ip address>, etc all work.

Within my house, ftp <My ip address> works.

However, remotely, away from home, it says connection refused.
Immediately, without even a prompt for username.

I'm thinking it may be my router so I forwarded ports 20 and 21 to my ip address but it still doesn't work.

Any idea why?
 
Old 04-16-2005, 10:42 AM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
yup, good call on the router... next issue: your ISP. They all like to block these things -- you probably need to use non-standard ports to get around this...
 
Old 04-16-2005, 11:34 AM   #3
jake3988
Member
 
Registered: Mar 2005
Location: Ohio
Distribution: Freebsd and Ubuntu
Posts: 69

Original Poster
Rep: Reputation: 17
cool... what would I do...

and possibly how would I do it?

(I'm using Freebsd 5.3)

Last edited by jake3988; 04-16-2005 at 11:38 AM.
 
Old 04-16-2005, 11:40 AM   #4
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
not sure... more than what distro do you use, what ftp daemon do you run? -- the generic solution is you need to change the config file and restart the service.
 
Old 04-16-2005, 11:47 AM   #5
jake3988
Member
 
Registered: Mar 2005
Location: Ohio
Distribution: Freebsd and Ubuntu
Posts: 69

Original Poster
Rep: Reputation: 17
I use the standard ftp daemon, ftpd I think it is.
 
Old 04-16-2005, 12:07 PM   #6
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
look in /etc/ for ftpd.conf
or /etc/ftpd/ftpd.conf
or similar

once found, edit the file and look for "port" keyword
 
Old 04-16-2005, 12:23 PM   #7
jake3988
Member
 
Registered: Mar 2005
Location: Ohio
Distribution: Freebsd and Ubuntu
Posts: 69

Original Poster
Rep: Reputation: 17
The only ftpd conf file is in /usr/src/contrib/lukemftpd/src/ftpd.conf.5
--Obviously, not what I want...

any other ideas?
 
Old 04-16-2005, 12:26 PM   #8
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
that looks like a manpage -- there's gotta be a config file somewhere (and most likely under /etc) -- not being a *bsd user, i'm not familiar with where they like to put things, perhaps someone else could be ov more presise help to you...
 
Old 04-16-2005, 12:30 PM   #9
jake3988
Member
 
Registered: Mar 2005
Location: Ohio
Distribution: Freebsd and Ubuntu
Posts: 69

Original Poster
Rep: Reputation: 17
locate ftpd.conf, that's all that came up...

Thanks anyway.
 
Old 04-16-2005, 12:36 PM   #10
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
it might also be ftp.conf

i'd browse /etc to find it rather than using locate
 
Old 04-16-2005, 12:52 PM   #11
jake3988
Member
 
Registered: Mar 2005
Location: Ohio
Distribution: Freebsd and Ubuntu
Posts: 69

Original Poster
Rep: Reputation: 17
ftpd.conf ftp.conf
in both
/etc/ and /usr/local/etc/ I got nothing.

There is a way of forwarding ports using pf.conf (port forward), but I don't know how.

-Although, not individual ports anyway.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I connect to Webmin remotely? wslyhbb Linux - Networking 3 11-18-2010 04:03 AM
How to connect/hang up dialup remotely? Entropius Linux - Networking 0 06-24-2004 10:35 AM
connect remotely pyre Linux - Newbie 8 03-19-2004 11:20 AM
Help: Unable to connect remotely tejpatil Linux - Newbie 3 02-14-2004 08:36 PM
cannot connect remotely noizez Linux - Networking 2 04-03-2003 09:53 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration