SNAT

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

 



I think that the DNS traffic goes only on 53/tcp when transfering
zones, and it uses the 53/udp for the queries.

Also, if you use the BIND implementation of the DNS server, you
can specify the source port, so the traffic can go from 53/udp to 53/udp

Luis Fernando Barrera 
luba@assist.com.gt


-----Original Message-----
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org]On Behalf Of Antony Stone
Sent: Tuesday, November 12, 2002 15:29
To: netfilter@lists.netfilter.org
Subject: Re: SNAT


On Tuesday 12 November 2002 9:01 pm, Rob Sterenborg wrote:

> > I want when to request internal 192.168.0.1:53 he leaves how
> > ip external
> > 200.200.200.1:53
> > I tried to do that. But no this working
> > iptables -t nat -I POSTROUTING -p udp -s 192.168.0.1 --sport 53 -j
> > SNAT --to-source 200.200.200.1:53
>
> I don't know if dns traffic is always sent *from* 53/udp, but I do
> know it is always sent *to* 53/udp.

Not *always* :-)   Sometimes it goes to 53/tcp...

Antony

-- 

With thanks to God,
For all that's come before,
For all that will come after,
But most of all, for this bit right here now.





[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