All of lore.kernel.org
 help / color / mirror / Atom feed
From: Athan <netfilter@miggy.org>
To: netfilter@lists.netfilter.org
Subject: Re: SMTP external
Date: Thu, 2 Jan 2003 23:44:47 +0000	[thread overview]
Message-ID: <20030102234447.GA11431@miggy.org> (raw)
In-Reply-To: <00c801c2b2b7$23ccf870$6301a8c0@VAIO>

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

On Thu, Jan 02, 2003 at 04:31:51PM -0700, Linux wrote:
> Before doing this, make sure you are not an open relay

   Of course to be SURE he's not an open relay he'll have to open the
port up to test it from !localhost/network ;).

	iptables -A INPUT -m state --state NEW,ESTABLISHED -p tcp
	--sport 25
	iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -p tcp
	--dport 25

Untested, off the top of my head, but should do the job.

-Ath
-- 
- Athanasius = Athanasius(at)miggy.org / http://www.miggy.org/
                  Finger athan(at)fysh.org for PGP key
	   "And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME

[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]

  reply	other threads:[~2003-01-02 23:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-02 22:40 SMTP external Simpson, Doug
2003-01-02 23:31 ` Linux
2003-01-02 23:44   ` Athan [this message]
2003-01-03  1:29     ` Joel Newkirk
  -- strict thread matches above, loose matches on Subject: below --
2003-01-02 23:34 Simpson, Doug
2003-01-02 23:37 ` Linux
2003-01-03 15:55 Simpson, Doug

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=20030102234447.GA11431@miggy.org \
    --to=netfilter@miggy.org \
    --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.