Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-15-2006, 09:58 PM
|
#1
|
LQ Newbie
Registered: Jun 2005
Distribution: Slackware 10.2
Posts: 13
Rep:
|
Can't connect to home FTP server remotely via firefox or IE
I have an FTP (vsftp) server running on my home computer and I can access it from that computer using firefox just fine. When I try to connect to it remotely ( I have tried Firefox and IE ) it won't let me. IE says the connection with the server was reset.
The strange thing is, I can connect to it remotely using the links browser and things work fine.
Any ideas?
Thanks.
|
|
|
03-15-2006, 10:02 PM
|
#2
|
Member
Registered: Sep 2005
Location: California
Distribution: Slackware & Debian
Posts: 264
Rep:
|
yeah. i've had that problem before. use proftpd. that one is more compliant with the windoz programs.
|
|
|
03-15-2006, 10:44 PM
|
#3
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
It works fine on my setup (vsftpd) with IE or Firefox. Just out of curiousity, are you using passive FTP in IE?
|
|
|
03-15-2006, 11:30 PM
|
#4
|
LQ Newbie
Registered: Jun 2005
Distribution: Slackware 10.2
Posts: 13
Original Poster
Rep:
|
IE on the computer I'm at now is using passive ftp.
|
|
|
03-16-2006, 02:46 AM
|
#5
|
LQ Newbie
Registered: Jun 2005
Distribution: Slackware 10.2
Posts: 13
Original Poster
Rep:
|
Could someone post their working vsftp setup so I can use it as a reference? I'm kind of at a loss here.
|
|
|
03-16-2006, 07:15 AM
|
#6
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
I'd say it's your firewall configuration. I'm at another site at the moment, also running vsftpd and I get the problem you described. When I clear the use passive ftp flag in IE, it works fine. The only difference I can see between the 2 sites is the firewall. On the site I was at earlier today the box is behind a corporate firewall and runs nothing except ftp and ssh so it has no firewall itself. The box I'm on here does have iptables stuff running.
The vsftpd.conf file on both sites is almost the same. Here it is, but I think the problem is with iptables. This isn't the whole file, just the lines that aren't commented out and without things like banners:
Code:
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
ls_recurse_enable=YES
|
|
|
03-17-2006, 01:53 AM
|
#7
|
LQ Newbie
Registered: Jun 2005
Distribution: Slackware 10.2
Posts: 13
Original Poster
Rep:
|
Thanks gilead. I tried clearing the use passive ftp in IE at the computer im at now and that worked. The computer my ftp server is on doesnt have iptables set up because it is already behind a firewall. I did notice later that when I connected to the server that passive mode was not being used so I tried switchin to passive and that wouldn't work. I do have ports 20, 21 open.
Does anyone know of a way I could get passive mode working or point me in the right direction. Mabybe a link to a good tutorial.
Thanks
|
|
|
03-17-2006, 01:58 AM
|
#8
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
I've used the stuff at http://iptables-tutorial.frozentux.n...-tutorial.html previously on other PCs and it worked fine. It looks like it's changed a fair bit so I'll have a look at it again this weekend because the PC here that IE failed to access shouldn't have (failed)... 
|
|
|
03-17-2006, 03:32 AM
|
#9
|
LQ Newbie
Registered: Jun 2005
Distribution: Slackware 10.2
Posts: 13
Original Poster
Rep:
|
I managed to get passive mode to work by using pasv_address=xx.xx.xx.xx, pasv_max_port=xxxxx, pasv_min_port=xxxxx and then opening up the port range I specified in my firewall.
The thing is, I get a dynamic ip so it would be pretty inconvenient for me to have to change the config file every time my ip changes.
I also don't like poking holes in my firewall (who does).
Is there a better way of going about this?
|
|
|
All times are GMT -5. The time now is 12:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|