LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-22-2004, 12:27 PM   #1
Mikessu
Member
 
Registered: Sep 2003
Distribution: Gentoo, FreeBSD 5.1
Posts: 122

Rep: Reputation: 15
Passive mode FTP & Firewall


I'm running small server that I sometimes connect from school or somewhere else. Anyway I've seen that sometimes my friends that have Windows and somekind of personal firewall can't connect my ftp server. When they close the firewall they are able to connect to ftp.

What should I do?

I have this line in ipf.rules:
pass out quick on tun0 proto tcp from any to any port = 21 flags S keep frags keep state
 
Old 07-22-2004, 12:34 PM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
The problem is on their end... the firewall is forcing them to use passive mode.

You really can't do anything to help them. I am not sure which range of ports (if any) they should open to stop this from happening to them but it isn't something you can change.
 
Old 07-23-2004, 12:12 AM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
To be a bit more clear, it doesn't look like you have a port range open to allow passive connections (you would have to configure that in your FTP daemon's config, and allow the ports through the firewall) and apparently your friends' firewalls are not allowing active FTP, so you're at an impass. The best thing to do would be to figure out what you need to do to configure passive mode for your FTP daemon and allow incoming connections to that port range.
 
  


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
FTP: active and passive mode problem with some windows client tda71 Linux - Networking 2 06-14-2005 08:31 AM
Passive/Active mode in Konqueror & .netrc perl21 SUSE / openSUSE 0 03-18-2005 08:11 PM
why does FTP server send local network address in passive mode? edesmarais Linux - Newbie 11 03-16-2005 12:33 AM
Configuring firewall rules for passive ftp linuxboy69 Linux - Security 8 01-13-2004 04:38 PM
ftp passive mode ? lenlutz Linux - Networking 1 11-05-2003 01:11 PM

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

All times are GMT -5. The time now is 11:21 AM.

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