Tim wrote:Hello,On Sun, 2007-04-01 at 22:13 +0800, edwardspl@xxxxxxxxxx wrote:If all of service ( include Firewall ) in the same server, and the server use Private IP and connection with Router / HUB... Then use the NAT ( iptable function ) to transfer the IP Address ( Public <-> Private )... So, is there need to define an external area ( public ip network ) of DNS for other client ( Internet ) ? If need, is there an simple sample for reference ?I really can't understand what you're asking, just making a wild guess if you're asking whether you need to use views if your server is part public and part private. If that's the case, no. I have a private LAN that's all one subnet behind a NAT modem/router. It has a DNS server which resolves local address for local machines, and it also acts as the DNS server for those machines to query for internet addresses. Any machine that can access it will get the same answers for queries. It's not publically accessible, though. Does your system as the following sample ? eg : For Public IP ( from ISP ) : IP range : 202.175.123.123 ~ 202.175.123.129 ( I want to use 202.175.123.123 trasnfer to 192.168.0.1 Server machine ) subnet mask : 255.255.255.240 ( I want to trasnfer to 255.255.255.0 ) Router IP : 202.175.123.128 ( So, how to trasnfer to 192.168.0.254, due to via the Router machine first ! ) For Private IP ( All of Server under LAN environment ) : IP : 192.168.0.1 ( I want to tranfer to 202.175.123.123 ) subnet mask : 255.255.255.0 ( I want to tranfer to 255.255.255.240 ) Router IP : 192.168.0.254 ( I want to tranfer to 202.175.123.128 ) For Client IP ( via NAT + DHCP of the Server ) : Ip : 192.168.1.1 ~ 192.168.1.50 Edward. |