LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-09-2003, 04:39 AM   #1
bart
LQ Newbie
 
Registered: Mar 2003
Posts: 2

Rep: Reputation: 0
wuftp passive mode and ipchains


hello guys,
you're talking with a real linux n00b, and i hope you'll be patient with me
i've been fiddling around for about 4h now and i still have no idea how i get this §%§" passive mode with my ftpd 'wuftp' working. as soon as i turn of the firewall - ipchains - everythings working fine, but the problem begins when i turn it back on..
i've been lookin through the web for this problem, and i've seen many ipchains rules that should handle this problem, but none of them worked to me
the last one i tried:

Code:
-A output -i eth0 -p tcp -s 62.75.136.145 1024:65535 -d any/0 1024:65535 -j ACCEPT
-A input -i eth0 -p tcp ! -y -s any/0 1024:65535 -d 62.75.136.145 1024:65535 -j ACCEPT
i would be very happy if anybody of you could help me out of this problem by posting me the working ipchains rules
thanks in advance,
cheers
phil

Last edited by bart; 03-09-2003 at 04:40 AM.
 
Old 03-09-2003, 07:08 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
First of all you should consider switching away from wu-ftpd to for instance vsftpd or proftpd.

Here you can specify a passive port range to use. For the firewall take a look at this website it shows you enough information required ... graphically shows you the stuff (a nice idea btw) :-)
 
Old 03-09-2003, 08:09 AM   #3
bart
LQ Newbie
 
Registered: Mar 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Hmm, thanks Markus, but this doesnt really help me with my firewall problem..
The thing i'm lookin for is an ipchains rule that lets passive connections for the ftpd in.
Wuftp is working perfectly in passive mode when i shut down ipchains, as soon as i restart it i cant open any passive connections anymore
You got the problem?
 
Old 03-09-2003, 08:47 AM   #4
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Well you should have READ the document ... there is a part about your problem in it "Server Protected By A Firewall Problem":

"Required Rules for FTP"
 
Old 03-09-2003, 10:40 PM   #5
paradoxlight
LQ Newbie
 
Registered: Jan 2002
Posts: 25

Rep: Reputation: 15
Hey I think it will help me

I have a problem getting clients to go out to a server on the internet. I think that expanation on that page and the rules will work but now I have to try and figure out how to actually write the rules.

Any ideas?
 
Old 03-10-2003, 07:36 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
paradoxlight, please write your rules and post them. *Then* ask a question.

//mod.note: moved to Networking
 
  


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
227 Entering Passive Mode mxtinker Linux - Networking 1 02-25-2004 08:58 AM
vsftp passive mode breaking bluethundr Linux - Networking 2 02-24-2004 07:13 AM
ftp passive mode ? lenlutz Linux - Networking 1 11-05-2003 01:11 PM
How to have passive mode off by default in wu-ftpd alisajjad Linux - Networking 0 07-30-2003 06:34 AM
kermit in passive mode? bbeers Linux - Software 1 08-23-2002 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:30 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