* first time set up
@ 2003-10-30 11:50 Knight, Steve
2003-10-30 12:04 ` Ted Kaczmarek
0 siblings, 1 reply; 3+ messages in thread
From: Knight, Steve @ 2003-10-30 11:50 UTC (permalink / raw)
To: netfilter
Hi there ---
Once I've got the normal stuff in place on a test standalone box [default
drop, accept related + established on tcp, loopback enabled]
iptables -A OUTPUT -p udp -s $LOCALIP -d $DNS1 --dport 53 -j ACCEPT
Shouldn't this be enough to allow standard dns resolution to take place?
According to Ziegler, it should?
Or am I a complete plum.
Any pointers as to my plumness gratefully received. Thanks :)
steve
-----------------------------------------------------------------------
Information in this email may be privileged, confidential and is
intended exclusively for the addressee. The views expressed may
not be official policy, but the personal views of the originator.
If you have received it in error, please notify the sender by return
e-mail and delete it from your system. You should not reproduce,
distribute, store, retransmit, use or disclose its contents to anyone.
Please note we reserve the right to monitor all e-mail
communication through our internal and external networks.
-----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: first time set up
2003-10-30 11:50 first time set up Knight, Steve
@ 2003-10-30 12:04 ` Ted Kaczmarek
0 siblings, 0 replies; 3+ messages in thread
From: Ted Kaczmarek @ 2003-10-30 12:04 UTC (permalink / raw)
To: Knight, Steve; +Cc: netfilter
Any particular reason you want default output drop?
That is a lot of overhead unless the box is only a dns server
than your train of thought is ok.
Also you need
iptables -A INPUT -p udp -m udp --dport 53 -j ACCEPT
you could specify as well the interface like so
-A INPUT -i eth0 -p udp -m udp --dport 53 -j ACCEPT
Ted
On Thu, 2003-10-30 at 06:50, Knight, Steve wrote:
> Hi there ---
>
> Once I've got the normal stuff in place on a test standalone box [default
> drop, accept related + established on tcp, loopback enabled]
>
> iptables -A OUTPUT -p udp -s $LOCALIP -d $DNS1 --dport 53 -j ACCEPT
>
> Shouldn't this be enough to allow standard dns resolution to take place?
> According to Ziegler, it should?
>
> Or am I a complete plum.
>
> Any pointers as to my plumness gratefully received. Thanks :)
>
> steve
>
>
>
> -----------------------------------------------------------------------
> Information in this email may be privileged, confidential and is
> intended exclusively for the addressee. The views expressed may
> not be official policy, but the personal views of the originator.
> If you have received it in error, please notify the sender by return
> e-mail and delete it from your system. You should not reproduce,
> distribute, store, retransmit, use or disclose its contents to anyone.
>
> Please note we reserve the right to monitor all e-mail
> communication through our internal and external networks.
> -----------------------------------------------------------------------
--
Ted Kaczmarek<tedkaz@optonline.net>
18 Packanack Lake Road
Wayne, NJ, 07470
973-633-6892
AIM-tedhurrah
Yahoo-oasysted
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: first time set up
@ 2003-10-30 12:32 Knight, Steve
0 siblings, 0 replies; 3+ messages in thread
From: Knight, Steve @ 2003-10-30 12:32 UTC (permalink / raw)
To: netfilter
Thanks Ted for the pointers, I'll give it a shot.
Only really because ziegler recommends it. It's early days though and at
the moment I'm almost bordering on setting default policies to ACCEPT just
to get the stupid DNS resolution working.
Just to clarify the status it's the other way round --- I just want the box
to be able to look up DNS, it's not running DNS itself. So by inference all
I should do is change INPUT to OUTPUT on your example?
Thanks to george in edinburgh also for the advice re: resolving dns via tcp,
I will allow that too.
Fingers crossed ...
steve
-----Original Message-----
From: Ted Kaczmarek [mailto:tedkaz@optonline.net]
Sent: 30 October 2003 12.04
To: Knight, Steve
Cc: netfilter@lists.netfilter.org
Subject: Re: first time set up
Any particular reason you want default output drop?
That is a lot of overhead unless the box is only a dns server
than your train of thought is ok.
Also you need
iptables -A INPUT -p udp -m udp --dport 53 -j ACCEPT
you could specify as well the interface like so
-A INPUT -i eth0 -p udp -m udp --dport 53 -j ACCEPT
Ted
On Thu, 2003-10-30 at 06:50, Knight, Steve wrote:
> Hi there ---
>
> Once I've got the normal stuff in place on a test standalone box [default
> drop, accept related + established on tcp, loopback enabled]
>
> iptables -A OUTPUT -p udp -s $LOCALIP -d $DNS1 --dport 53 -j ACCEPT
>
> Shouldn't this be enough to allow standard dns resolution to take place?
> According to Ziegler, it should?
>
> Or am I a complete plum.
>
> Any pointers as to my plumness gratefully received. Thanks :)
>
> steve
>
>
>
> -----------------------------------------------------------------------
> Information in this email may be privileged, confidential and is
> intended exclusively for the addressee. The views expressed may
> not be official policy, but the personal views of the originator.
> If you have received it in error, please notify the sender by return
> e-mail and delete it from your system. You should not reproduce,
> distribute, store, retransmit, use or disclose its contents to anyone.
>
> Please note we reserve the right to monitor all e-mail
> communication through our internal and external networks.
> -----------------------------------------------------------------------
--
Ted Kaczmarek<tedkaz@optonline.net>
18 Packanack Lake Road
Wayne, NJ, 07470
973-633-6892
AIM-tedhurrah
Yahoo-oasysted
.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-30 12:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-30 11:50 first time set up Knight, Steve
2003-10-30 12:04 ` Ted Kaczmarek
-- strict thread matches above, loose matches on Subject: below --
2003-10-30 12:32 Knight, Steve
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox