Advertisement

12.09.2006 at 10:40PM PST, ID: 22088239
[x]
Attachment Details

FTP Passive IPTABLES

Asked by operation1612 in Linux Network Security

Tags: iptables, ftp, passive

I have 2 server. Server A ( 192.168.0.11 - secure ) and Server B (10.0.11.2 -dmz ). From Server B i do ftp to Server A. If i stop the iptables service at Server B, i can ftp and view directory. but when enable the iptables on Server B, i only can login to ftp from Server A, but unable to view the directory Listing. My question, based on iptables script below in Server B, what else do i need to add so Server A can view the listing as well.? [ note: im using pasive mode ]


[Iptables from Server A]
-A INPUT -i lo -j ACCEPT
-A INPUT -s 127.0.0.1 -j ACCEPT
-A INPUT -s 192.168.0.11 -j ACCEPT
-A INPUT -p tcp -m tcp ! --tcp-flags SYN,RST,ACK SYN -m state --state NEW -j DROP
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -s 213.219.122.11 -j LOG --log-prefix "ZONE-H " --log-level 6
-A INPUT -s 213.219.122.11 -j DROP
-A INPUT -p tcp -m tcp --dport 21 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 8 -m limit --limit 20/sec -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -m limit --limit 10/sec -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 3 -m limit --limit 5/sec -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 30 -m limit --limit 10/sec -j ACCEPTStart Free Trial
[+][-]12.09.2006 at 10:46PM PST, ID: 18110188

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.10.2006 at 12:39AM PST, ID: 18110336

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.10.2006 at 12:58PM PST, ID: 18111679

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Linux Network Security
Tags: iptables, ftp, passive
Sign Up Now!
Solution Provided By: infleadorix
Participating Experts: 3
Solution Grade: A
 
 
[+][-]12.10.2006 at 01:09PM PST, ID: 18111722

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.18.2006 at 09:00AM PST, ID: 18159751

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.18.2006 at 01:06PM PST, ID: 18161573

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.18.2006 at 01:09PM PST, ID: 18161604

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.03.2007 at 02:32AM PST, ID: 18234068

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.03.2007 at 09:16AM PST, ID: 18236902

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]01.25.2007 at 06:35PM PST, ID: 18401627

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]01.29.2007 at 04:24PM PST, ID: 18424210

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32