All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Sowka <msowka@sce.carleton.ca>
To: netfilter@lists.netfilter.org
Subject: Couple of Newbie Questions
Date: Fri, 19 Dec 2003 02:37:31 -0500	[thread overview]
Message-ID: <1071819450.19436.11.camel@sql-01> (raw)

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

Hello Everyone,

I just have a few "entry-level" questions:

#1 Just installed Redhat AS, and can't figure out why vsftpd doesn't
work in passive mode. I have NEW tcp packets with --dport 21 -j to
ACCEPT, and the following line

-m state --state ESTABLISHED,RELATED -j ACCEPT

that should jump RELATED ftp packets to accept too... ?right?? Well it
doesn't work.

#2 Disclaimer: this one is VAIN... after messing around with the nat
table, I took out any reference to the nat table from my
/etc/sysconfig/iptables but when I `/sbin/service iptables status` the
nat table still prints with all of the chains empty... where does this
info for the nat table persist? 

Thanx for your patience in swatting any confusion for me,
Mike

P.S. attaching iptable for reference concerning Q #1

[-- Attachment #2: iptables --]
[-- Type: text/plain, Size: 842 bytes --]

# Firewall configuration written by redhat-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT

                 reply	other threads:[~2003-12-19  7:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1071819450.19436.11.camel@sql-01 \
    --to=msowka@sce.carleton.ca \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.