[prev in list] [next in list] [prev in thread] [next in thread]
List: netfilter
Subject: Re: Host Forwarding
From: Paul Rusty Russell <Paul.Russell () linuxcare ! com ! au>
Date: 1999-11-29 3:11:05
[Download RAW message or body]
In message <383C48CE.C608151D@logicnetworks.com> 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 1.2.3.4 -p tcp --dport domain -b dest -t 192.168.1.1
ipnatctl -I -i eth0 -d 1.2.3.4 -p udp --dport domain -b dest -t 192.168.1.1
Replace eth0 with your external interface name, 1.2.3.4 with your
external interface address, and 192.168.1.1 with your internal DNS
server's address.
Rusty.
--
Hacking time.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic