DNAT/SNAT doubt

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

 



Hi all,

  a nameserver managed by one of my customers died unexpectedly, they asked
  me to redirect all traffic to another DNS in a totally different
  network. Should it work? (it didn't in my case...)

Chain PREROUTING (policy ACCEPT 656 packets, 33024 bytes)
 pkts bytes target     prot opt in     out     source               destination
 1410 93104 DNAT       udp  --  *      *       0.0.0.0/0            0.0.0.0/0          udp dpt:53 to:XXX

Chain POSTROUTING (policy ACCEPT 628 packets, 31631 bytes)
 pkts bytes target     prot opt in     out     source               destination
    0     0 SNAT       udp  --  *      *       0.0.0.0/0            XXX    udp dpt:53 to:YYY

  you can see that no packets entered the POSTROUTING chain even thought in
  my opinion all packets ther entered the PREROUTING rule should enter the
  POSTROUTING one. Am I wrong?

  TYA
  sandro
  *:-)


-- 
Sandro Dentella  *:-)
e-mail: sandro@xxxxxxxx 
http://www.tksql.org                    TkSQL Home page - My GPL work


[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