[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] RE: problem with raqbackup
- Subject: [cobalt-users] RE: problem with raqbackup
- From: "Jorge Ceballos" <jorge@xxxxxxxxxxxxxxxx>
- Date: Tue Nov 12 15:40:02 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
>Anyway Port 20 has to be open as well...
>/sbin/ipchains -A input -s 0.0.0.0/0.0.0.0 21 -d 0.0.0.0/0.0.0.0
1024:65535 -i eth0 ! -y -p tcp -j ACCEPT
>/sbin/ipchains -A input -s 0.0.0.0/0.0.0.0 1024:65535 -d 0.0.0.0/0.0.0.0
21 -i eth0 -p tcp -j ACCEPT
>/sbin/ipchains -A output -s 0.0.0.0/0.0.0.0 21 -d 0.0.0.0/0.0.0.0
1024:65535 -i eth0 ! -y -p tcp -j ACCEPT
>/sbin/ipchains -A output -s 0.0.0.0/0.0.0.0 1024:65535 -d 0.0.0.0/0.0.0.0
21 -i eth0 -p tcp -j ACCEPT
>/sbin/ipchains -A input -s 0.0.0.0/0.0.0.0 20 -d 0.0.0.0/0.0.0.0
1024:65535 -i eth0 -p tcp -j ACCEPT
>/sbin/ipchains -A input -s 0.0.0.0/0.0.0.0 1024:65535 -d 0.0.0.0/0.0.0.0
20 -i eth0 ! -y -p tcp -j ACCEPT
>/sbin/ipchains -A output -s 0.0.0.0/0.0.0.0 20 -d 0.0.0.0/0.0.0.0
1024:65535 -i eth0 -p tcp -j ACCEPT
>/sbin/ipchains -A output -s 0.0.0.0/0.0.0.0 1024:65535 -d 0.0.0.0/0.0.0.0
20 -i eth0 ! -y -p tcp -j ACCEPT
Hi again,
This may be too stupid but I just can't open port 20.
I changed my IPchains as follows:
# serve ftp for NON-passive clients_ONLY_
ipchains -A input -i eth0 -p tcp --destination-port 20 --syn -j ACCEPT
ipchains -A input -i eth0 -p tcp --destination-port 21 --syn -j ACCEPT
Then I ran :
nmap -sT -I -p 0001-65535 localhost
(The 65525 ports scanned but not shown below are in state: closed)
Port State Service Owner
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
80/tcp open http
81/tcp open hosts2-ns
etc...
What am I missing to open port 20 ?
TIA
Jorge Ceballos