From: edwardspl@ita.org.mo
To: "netfilter@lists.netfilter.org" <netfilter@lists.netfilter.org>
Cc: "fedora-list@redhat.com" <fedora-list@redhat.com>
Subject: Configuration of NAT
Date: Sun, 01 Apr 2007 22:13:07 +0800 [thread overview]
Message-ID: <460FBDF3.3060306@ita.org.mo> (raw)
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.
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
reply other threads:[~2007-04-01 14:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=460FBDF3.3060306@ita.org.mo \
--to=edwardspl@ita.org.mo \
--cc=fedora-list@redhat.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.