LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
  Search this Thread
Old 05-01-2004, 02:16 AM   #1
karlovac
LQ Newbie
 
Registered: Mar 2004
Posts: 25

Rep: Reputation: 15
How do I know if a firewall is in place?


I'm having trouble with a server that I've just set up: I can't FTP to it (although SSH and HTTP are OK).

How can I tell for sure if there is a firewall installed that's blocking FTP access or not?

It's running Fedora Core.

Thanks,

Antun
 
Old 05-01-2004, 02:36 AM   #2
Etruscan
LQ Newbie
 
Registered: Feb 2004
Distribution: Plan9, slackware 10
Posts: 3

Rep: Reputation: 0
/sbin/iptables --list
 
Old 05-01-2004, 01:19 PM   #3
karlovac
LQ Newbie
 
Registered: Mar 2004
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks! I get:

Quote:
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Is the line in bold the one that looks relevant? If so, it looks like the firewall is disabled for FTP, so I'd have to look elsewhere.

-Antun
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best place to start IPTABLES Firewall? rjw1678 Linux - Security 1 07-06-2005 05:29 PM
Nice place you got here. ByteFarmer LinuxQuestions.org Member Intro 1 11-28-2004 01:01 AM
They're going to their place over there. itsjustme General 8 05-12-2004 04:34 AM
Default place? Totoro Linux - Newbie 5 03-18-2004 11:40 PM
Place for Qt ChimpFace9000 Programming 2 08-20-2002 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:12 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration