NAT working for TCP and _NOT_ working for UDP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux