From: Alin Nastac <mrness@technosoft.ro>
To: Christian Seberino <seberino@spawar.navy.mil>
Cc: Antony Stone <Antony@Soft-Solutions.co.uk>, netfilter@lists.samba.org
Subject: Re: iptables question - how to securely allow *just* outgoing smtp
Date: Tue, 25 Jun 2002 09:55:46 +0300 [thread overview]
Message-ID: <3D1813F2.29FFD372@technosoft.ro> (raw)
In-Reply-To: 20020622102824.A32585@spawar.navy.mil
Christian Seberino wrote:
> I *could* define $SSH_PORT and $SMPT_PORT but
> doesn't iptables recognize ssh and smtp /already/
> as 22 and 25?
iptables recognise all ports names from /etc/services. You could use
--dport ssh instead --dport 22. Still, you must add before that -p tcp.
Without that, iptables cannot interpret --dport.
prev parent reply other threads:[~2002-06-25 6:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-21 15:32 iptables question - how to securely allow *just* outgoing smtp Christian Seberino
2002-06-21 15:35 ` Antony Stone
2002-06-22 17:28 ` Christian Seberino
2002-06-22 17:44 ` Antony Stone
2002-06-25 6:55 ` Alin Nastac [this message]
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=3D1813F2.29FFD372@technosoft.ro \
--to=mrness@technosoft.ro \
--cc=Antony@Soft-Solutions.co.uk \
--cc=netfilter@lists.samba.org \
--cc=seberino@spawar.navy.mil \
/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