| To: | "netfilter@lists.netfilter.org" <netfilter@lists.netfilter.org> |
|---|---|
| Subject: | Configuration of NAT |
| From: | edwardspl@ita.org.mo |
| Date: | Sun, 01 Apr 2007 22:13:07 +0800 |
| Cc: | "fedora-list@redhat.com" <fedora-list@redhat.com> |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | netfilter-list1@securepoint.com |
| List-archive: | </pipermail/netfilter> |
| List-help: | <mailto:netfilter-request@lists.netfilter.org?subject=help> |
| List-id: | General discussion and user questions <netfilter.lists.netfilter.org> |
| List-post: | <mailto:netfilter@lists.netfilter.org> |
| List-subscribe: | <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=subscribe> |
| List-unsubscribe: | <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=unsubscribe> |
| Sender: | netfilter-bounces@lists.netfilter.org |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) |
Dear All,If all of service ( include Firewall ) in the same server, and the server use Private IP and connection with Router / HUB... Then, how to define the NAT ( iptable function ) to transfer the IP Address ( Public <-> Private ) and auto assign the IP range for Client PCs ( LAN users ) ? Is there an simple sample for reference ? eg : For Public IP ( from ISP ) :IP range : 202.175.123.123 ~ 202.175.123.129 ( I want to assign IP 123 for the Server first ) subnet mask : 255.255.255.240 Router IP : 202.175.123.128 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. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: stateful UDP with unknown source port on INPUT?, Franck Joncourt |
|---|---|
| Next by Date: | Re: Limit connections per IP, Jan Engelhardt |
| Previous by Thread: | Re: stateful UDP with unknown source port on INPUT?, noa levy |
| Next by Thread: | Re: Limit connections per IP, Jan Engelhardt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |