From: "K.A.Rochstad" <karochstad@broadpark.no>
To: netfilter@lists.netfilter.org
Subject: miscellaneous questions (iptables v1.2.6a)
Date: Wed, 4 Dec 2002 19:35:06 +0100 [thread overview]
Message-ID: <001001c29bc3$ddeb2b60$0200000a@design> (raw)
[-- Attachment #1: Type: text/plain, Size: 859 bytes --]
Hello.
I have 2 questions about this edition of netfilter. (iptables 1.2.6)
When I use:
Iptables -A OUTPUT -o $INTERNET -p tcp -s $IPADDR -sport $UNPRIVPORTS -dport 113 -j ACCEPT
I get this error:
Iptables v.1.2.6a: invalid TCP port/service '-d' specified.
Try 'iptables -h' or 'iptables -help' for more information.
I get this error in connection to -dport 53 too. (With -p UDP)
Q1:
Is it not possible to make more restrictions between the SOA DNS and a client?
Now I is all protocols allowed all on all ports because -sport and -dport not was permitted in connection to port 53.
On the other hand is it no problem to make rules for s local DNS forward Server on port 53.
Q2:
How to configure correct rules for these ports?
Thank you for your time and advice.
Karl
[-- Attachment #2: Type: text/html, Size: 30741 bytes --]
reply other threads:[~2002-12-04 18:35 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='001001c29bc3$ddeb2b60$0200000a@design' \
--to=karochstad@broadpark.no \
--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