Host Forwarding

Paul Rusty Russell
Mon, 29 Nov 1999 14:15:43 +1100

In message <> you write:
> I have one ip address and need to point all my dns to this address and
> the netfilter to look at the header and forward
> to the appropriate host.

If you want to pass all external DNS queries to an internal DNS
server, simply use port forwarding:

	ipnatctl -I -i eth0 -d -p tcp --dport domain -b dest -t
	ipnatctl -I -i eth0 -d -p udp --dport domain -b dest -t

Replace eth0 with your external interface name, with your
external interface address, and with your internal DNS
server's address.

Hacking time.