LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 01-08-2004, 03:11 PM   #1
herc
Member
 
Registered: Jul 2003
Posts: 90

Rep: Reputation: 15
FTP access


Edit: Sorry for the subject, I cleared that problem already

Anyways:
I made iptables-rules pretty strict and my now my FTP-server doesn't give directory listing, what do I have to open from my firewall?
Quote:
iptables -A INPUT -p tcp --dport 21 -m state --state NEW -j ACCEPT
?

Last edited by herc; 01-08-2004 at 03:14 PM.
 
Old 01-08-2004, 07:51 PM   #2
BoldKiller
Member
 
Registered: Apr 2002
Location: Montreal, Quebec
Distribution: Debian, Gentoo, RedHat
Posts: 142

Rep: Reputation: 15
Not sure I understand the security breach issue?

Concerning your connection, have you cleared the OUTPUT packet on dynamic ports for establish connection. In other words, the comamdn allows client to talk to the server, but have you cleared the server to answer back?

Sorry, but I dont remenber the exact command, been some time since I configured iptable.

Hope this helps!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftp - Can access FTP within office network BUT cant access via Internet! kokfei77 Red Hat 2 03-07-2012 07:24 PM
Ftp(through web site access to ftp server) kelper Linux - Software 3 01-11-2006 07:03 PM
I lose ftp access when I disable shell access for user captainObvious Linux - General 3 11-13-2004 05:49 PM
Allowing access to FTP server on LAN using IPTABLES - Help please sergio3986 Linux - Security 2 12-18-2003 12:22 PM
ftp and ftp port forwarding with IPtables?? FunkFlex Linux - Security 3 04-24-2002 03:03 AM


All times are GMT -5. The time now is 04:15 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration