LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-17-2004, 06:37 PM   #1
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
Need to open up port 21 for ftp xfers in RH9 on high security


How would I be able to do this? I've looked around the forums and it seems like I have to do something with iptables, but I'm not sure what.
 
Old 04-18-2004, 02:55 AM   #2
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
bump
 
Old 04-18-2004, 03:33 AM   #3
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
iptables -A INPUT -p tcp --dport 21 -j ACCEPT
 
Old 04-18-2004, 04:11 AM   #4
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
Hmmm ... that's weird. I put that in but I still can't connect to the ftp server. I'm running ProFTPD on it and when I try to access it on my laptop, it acts as if it doesn't even exist. It can't even connect to itself. I run ftp on it while proftpd is running and type "open 192.168.1.103" (on a router) and it says "500 Sorry, no server available to handle request on 192.168.1.103." Arrr, I don't get it. The configuration is valid and it's set to run on port 21! Dang. What's going on? No other services are using port 21 I believe. I checked it and nothing on 21 showed up.
 
Old 04-18-2004, 04:17 AM   #5
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
u may costumize redhat security level.
type:

setup

and choose firewall
choose costum. and u can easyly open needed ports.
 
Old 04-19-2004, 12:40 AM   #6
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
Oh beautiful! Thank you maxut, that setup program is wonderful. Got my problem fixed right away.
 
Old 04-19-2004, 02:58 AM   #7
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
your welcome. i am happy for u
 
Old 05-26-2004, 07:34 PM   #8
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
Sorry to bring up an old post, but it takes off from the end of thread. When I run setup and configure stuff, it works, cool, but when I restart, everything is set back to what it used to be. Is there a command I should run to permanently set the settings or something? Thanks!
 
Old 05-27-2004, 01:17 AM   #9
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
actually setup tools save configrations. there must be another script which works on startup.
check /etc/rc.d/rc.local file.
 
Old 05-27-2004, 05:29 AM   #10
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
Thinking that the settings have been restored is just my prediction though, I could be wrong ... when I run setup and go to the network settings, it appears to be at default. Buuuut, this might just be the way it works, not necessarily meaning that the settings have been restored. Is that it?
 
  


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
nmap reports port 21 (ftp) open - how to close it? shazam75 Linux - Security 3 09-23-2005 07:13 PM
Wandering, high, open UDP port detected by nmap conn-fused Linux - Security 1 05-15-2005 06:23 AM
Open port for FTP Ephracis Linux - Security 3 12-12-2004 06:12 AM
SuSE 9.2 - FTP Port open with no FTP service?!?! don_wombat Linux - Security 12 12-01-2004 03:14 PM
how to open the ftp port??? stonegold84 Linux - General 6 08-22-2003 12:21 AM

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

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