All of lore.kernel.org
 help / color / mirror / Atom feed
* DNS
@ 2003-01-13 11:52 Mattia Martinello
  2003-01-13 16:10 ` unsubscribe telefon jackfritt@boh.de Jörg Esser
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Mattia Martinello @ 2003-01-13 11:52 UTC (permalink / raw)
  To: netfilter

Hi all

I wish to open DNS connections and redirect it from the gateway and the 
server on the DMZ.
I tried these rules:

iptables -t nat -A PREROUTING -p tcp -i ppp0 -d [public IP] --dport 53 
-j DNAT --to [private IP]:53
iptables -A FORWARD -i ppp0 -d [private IP] -p tcp --dport 53 -j ACCEPT

iptables -t nat -A PREROUTING -p udp -i ppp0 -d [public IP] --dport 53 
-j DNAT --to [private IP]:53
iptables -A FORWARD -i ppp0 -d [private IP] -p tcp --dport 53 -j ACCEPT

But if I try to query my DNS server from the Internet my query goes in 
timeout.
The connections between [private IP] and the Internet are allowed (all 
other services work good without any problem, the only service that gets 
me some problems is DNS).

What have I to open to allow DNS connections from the gateway and the DMZ?

Thank you very much
Bye
Mattia



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-02-12  9:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-13 11:52 DNS Mattia Martinello
2003-01-13 16:10 ` unsubscribe telefon jackfritt@boh.de Jörg Esser
2003-01-13 22:21 ` DNS Peter Johnson
2003-01-13 22:30 ` DNS Joel Newkirk
2003-01-15  8:13 ` unsubscribe telefon jackfritt@boh.de Jörg Esser
2003-02-12  9:06 ` DNS Tarek W.

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.