Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Chris Godwin" <artimador@yahoo.com>
To: netfilter@lists.netfilter.org
Subject: General Ports
Date: Fri, 27 Feb 2004 13:50:48 -0600	[thread overview]
Message-ID: <003501c3fd6b$236d27b0$5b65810a@tsr1> (raw)
In-Reply-To: 20040227022305.99743.qmail@web21106.mail.yahoo.com

Hello My name is Chris,

I'm new to linux and iptables and I've just started running qmail and
vpopmail.

I have a problem... here is my /etc/sysconfig/iptables file

# Generated by iptables-save v1.2.8 on Tue Feb 24 20:53:02 2004
*filter
:OUTPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:INPUT ACCEPT [0:0]
# allow only on the ports that internet services listen to
-A INPUT -p tcp -m tcp -m multiport -j ACCEPT --dports
21,22,25,80,110,143,3306 # all my internet server ports
-A INPUT -p tcp -m tcp --dport 30000:31000 -j ACCEPT # ports for passive ftp
transfer
-A INPUT -p tcp -j DROP kill everything else
COMMIT
# Completed on Tue Feb 24 20:53:02 2004

HERE'S MY QUESTION:
What are some ports I need to have open for usuall networking functions...
like looking up hostnames and what not... as of right now with iptables and
the current iptables file qmail doens't accept or send mail and the server
cannot lookup hostnames or cannot connect to http or ftp servers via wget or
lynx... the server is running redhat 7.3



  reply	other threads:[~2004-02-27 19:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-27  2:23 iptables mustafa hassan
2004-02-27 19:50 ` Chris Godwin [this message]
2004-02-27 20:05   ` General Ports Antony Stone

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='003501c3fd6b$236d27b0$5b65810a@tsr1' \
    --to=artimador@yahoo.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox