Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: topota 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
-
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 .