April 27, 2024, 09:54:54 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: how to open port with fedora  (Read 4014 times)

Offline topota

  • New Member
  • Posts: 1
how to open port with fedora
« on: January 26, 2005, 10:35:36 PM »
i need to open my ports 20 and 21 that apear to be close on my fedora i already try

#iptables -A INPUT -p tcp --dport 21 -j ACCEPT

but it didn't work

# nmap -sT -p 20-24 localhost

Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2005-01-26 14:05 COT
Interesting ports on localhost.localdomail (127.0.0.1):
PORT STATE SERVICE
20/tcp closed ftp-data
21/tcp closed ftp
22/tcp open ssh
23/tcp closed telnet
24/tcp closed priv-mail

Offline anil_garg5

  • Linux Learner
  • ***
  • Posts: 71
how to open port with fedora
« Reply #1 on: January 27, 2005, 05:43:27 AM »
For opening these ports, u have to start any ftp service( application which uses port 20 and 21 ) into your linux system.
choose any of ftp server i.e. wuftp, gsftp or vsftp ( choose only one) .

1. ntsysv
2. choose the ftp server
2. start the service #service vsftpd start

now, check thru nmap .