LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-11-2002, 09:46 AM   #1
ifm
Member
 
Registered: Jun 2002
Location: USA
Distribution: RH7.3 & YDL2.1
Posts: 124

Rep: Reputation: 15
Question ipchains command line example


Could someone be so helpful as type out the proper IPCHAINS command line for doing the two required additions to the firewall chains mentioned in the following pulled from the PureFTPD FAQ:

"First, you have to open port 21 TO the FTP server. You also have to allow
connections FROM (not to) port 20 (of the FTP server) to everywhere."

"Then, open some ports TO the FTP server. These ports should be > 1023."

The ports I will be allowing will be 20000 to 30000 for pasv mode. I'm fairly new to ipchains, so I am not clear by the aboves statements in regards to "TO" and "FROM" ... as there are no references to that terminology in the MAN pages for ipchains.

Thanks for any help.
(sorry for the cross post, but it seems no one helpful reads the software forum)
 
Old 06-11-2002, 09:46 PM   #2
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
I already answered this question in another forum. Please don't double post. Thanx!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
I need to change a command from IpTables to IpChains mfeoli Linux - Networking 1 01-20-2005 03:28 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 08:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 02:28 PM
translating an iptables command back to ipchains reetep Linux - Networking 0 05-15-2004 07:17 PM


All times are GMT -5. The time now is 05:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration