Talk About Network

Google





Software > Linux Debian Maint Firewall > iptables and ft...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 1582 of 1645
Post > Topic >>

iptables and ftp

by Sathyainkara Balendra <sathyainkara.balendra@[EMAIL PROTECTED] > Jun 30, 2008 at 03:50 PM

--0-385651592-1214833055=:96441
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

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 --d****t 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=0A=0A=0A     
______________________________________________________=
____=0ANot happy with your email address?.=0AGet the one you really want -
=
millions of new email addresses available now at Yahoo!
http://uk.docs.yaho=
o.com/ymail/new.html
--0-385651592-1214833055=:96441
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<table cellspacing=3D'0' cellpadding=3D'0' border=3D'0' ><tr><td
valign=3D'=
top' style=3D'font: inherit;'>I have following settings, but i dont get a
f=
tp connection.<br><br>#FTP-TABLE
incomplete<br><br>########################=
##########################################<br>*filter<br>:INPUT DROP
[0:0]<=
br>:FORWARD DROP [0:0]<br>:OUTPUT ACCEPT
[0:0]<br><br>#####################=
#############################################<br><br>#if following line is
=
set it works, but i want a secure connection only too that server<br>#-A
IN=
PUT -m state --state RELATED,ESTABLISHED -j ACCEPT<br><br><br>#Allow
Ftp<br=
>-N USER_FTP<br>-A INPUT -p tcp -m tcp --d****t 1:65000 --syn -j
USER_FTP<br=
>-A USER_FTP -s 212.74.114.60/21 -j ACCEPT<br>-A USER_FTP -s
212.74.114.60/=
20 -j
ACCEPT<br><br><br>###################################################=
################<br><br>Thanks</td></tr></table><br>=0A=0A=0A=0A      <hr
s=
ize=3D1> =0ANot happy with your email address?=0A<br> <a
href=3D"http://uk.=
docs.yahoo.com/ymail/new.html"> Get the one you =0A=0Areally want</a> -
mil=
lions of new email addresses available now at <a
=0A=0Ahref=3D"http://uk.do=
cs.yahoo.com/ymail/new.html"> Yahoo!</a>
--0-385651592-1214833055=:96441--


-- 
To UNSUBSCRIBE, email to debian-firewall-REQUEST@[EMAIL PROTECTED]
 a subject of "unsubscribe". Trouble? Contact
listmaster@[EMAIL PROTECTED]

 




 4 Posts in Topic:
iptables and ftp
Sathyainkara Balendra <  2008-06-30 15:50:20 
Re: iptables and ftp
Ansgar -59cobalt- Wiecher  2008-06-30 16:40:22 
Re: iptables and ftp
Mark Chong <mark@[EMAI  2008-07-01 02:40:13 
Re: iptables and ftp
Ansgar -59cobalt- Wiecher  2008-07-01 03:10:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 16:21:52 PST 2009.