All of lore.kernel.org
 help / color / mirror / Atom feed
* NAT and DNS/NTP servers
@ 2004-05-01  2:52 Andrew E. Mileski
  2004-05-01  7:19 ` Antony Stone
  0 siblings, 1 reply; 14+ messages in thread
From: Andrew E. Mileski @ 2004-05-01  2:52 UTC (permalink / raw)
  To: netfilter

I'm observing lost packets when a gateway doing NAT also locally hosts
a server for DNS or NTP.  I believe this the result of the ambiguous
conditions that can exist when routing server-to-server packets coming
into the gateway.

I can avoid it by specifying --to-source ports in a SNAT rule for NTP,
or with DNAT and --to-destination port to force usage of the gateway's
server (which is likely the best solution).  I've not tried this on DNS
yet, but I expect it will solve the problem as well.

Is this a known situation for these protocols (and similar)?  Or am I
barking up the wrong tree?

Thanks.

-- 
Andrew E. Mileski



^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: NAT and DNS/NTP servers
@ 2004-05-02 13:49 Steve Jones
  2004-05-03  0:14 ` Andrew E. Mileski
  0 siblings, 1 reply; 14+ messages in thread
From: Steve Jones @ 2004-05-02 13:49 UTC (permalink / raw)
  To: Andrew E. Mileski, netfilter

If you didn't just make a typo in the transcription of this, you may
want to check your LAN side address.  Your LAN_NET in this is not the
subnet that your LAN_IP is on..  I wonder if this is confusing your
rules?
-Steve

-----Original Message-----

LAN is a private network:
   LAN_IFC=eth0
   LAN_NET=192.168.0/24
   LAN_IP=192.168.1.1

WAN is the internet:
   WAN_IFC=eth1
   WAN_NET=209.217.118.0/29
   WAN_IP=209.217.118.226



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

end of thread, other threads:[~2004-05-03  0:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-01  2:52 NAT and DNS/NTP servers Andrew E. Mileski
2004-05-01  7:19 ` Antony Stone
2004-05-01 17:42   ` Andrew E. Mileski
2004-05-01 17:49     ` Andrew E. Mileski
2004-05-01 18:05     ` Antony Stone
2004-05-01 19:51       ` Andrew E. Mileski
2004-05-01 20:00         ` Andrew E. Mileski
2004-05-01 20:21         ` Antony Stone
2004-05-01 20:48           ` Andrew E. Mileski
2004-05-01 21:07             ` Antony Stone
2004-05-01 21:42               ` Andrew E. Mileski
2004-05-01 23:17                 ` Antony Stone
  -- strict thread matches above, loose matches on Subject: below --
2004-05-02 13:49 Steve Jones
2004-05-03  0:14 ` Andrew E. Mileski

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.