[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

iptables and ftp



I have following settings, but i dont get a ftp connection.

#FTP-TABLE incomplete

##################################################################
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]

##################################################################

#if following line is set it works, but i want a secure connection only too that server
#-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT


#Allow Ftp
-N USER_FTP
-A INPUT -p tcp -m tcp --dport 1:65000 --syn -j USER_FTP
-A USER_FTP -s 212.74.114.60/21 -j ACCEPT
-A USER_FTP -s 212.74.114.60/20 -j ACCEPT


###################################################################

Thanks


Not happy with your email address?
Get the one you really want - millions of new email addresses available now at Yahoo!
Reply to: