From: Cristian Goian Subject: NAT working for TCP and _NOT_ working for UDP Date: Thu, 18 Dec 2003 11:48:58 -0800 (PST) Sender: netfilter-admin@lists.netfilter.org Message-ID: <20031218194858.6048.qmail@web40703.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-803727192-1071776938=:5537" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org --0-803727192-1071776938=:5537 Content-Type: text/plain; charset=us-ascii Hi, I have a PII/500 PC with eth0=public address, eth1=192.168.0.1 for DMZ and eth2=192.168.1.1 for LAN. I have DNAT for web to my DMZ (TCP) working and DNAT for DNS to my DMZ (UDP) not working. Kernel is 2.4.18, iptables 1.2.7a . No services on that box. From inside (LAN) I can conect to web server using IP address (NATed) and not by name (DNS not being able to reach). All traceroute go through NATbox without being DNAT-ed (to default gateway outside to my ISP), a problem similar to "DNATing packets sent to the NATing box" posted couple a day before by someone else, but no service on mine. The DNS in DMZ are working 100%. Same the web server wich I can reach. It like DNAT working for TCP and not for UDP Many thaks in advance for any help CFG --------------------------------- Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing --0-803727192-1071776938=:5537 Content-Type: text/html; charset=us-ascii
Hi,
I have a PII/500 PC with eth0=public address, eth1=192.168.0.1 for DMZ and eth2=192.168.1.1 for LAN.
I have DNAT for web to my DMZ (TCP) working and DNAT for DNS to my DMZ (UDP) not working.
Kernel is 2.4.18, iptables 1.2.7a .
No services on that box.
From inside (LAN) I can conect to web server using IP address (NATed) and not by name (DNS not being able to reach).
All traceroute go through NATbox without being DNAT-ed (to default gateway outside to my ISP), a problem similar to "DNATing packets sent to the NATing box" posted couple a day before by someone else, but no service on mine.
The DNS in DMZ are working 100%. Same the web server wich I can reach.
 
It like DNAT working for TCP and not for UDP
 
 

Many thaks in advance for any help

CFG


Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing --0-803727192-1071776938=:5537--