Linux Netfilter discussions
 help / color / mirror / Atom feed
* Configuration of NAT
@ 2007-04-01 14:13 edwardspl
  0 siblings, 0 replies; only message in thread
From: edwardspl @ 2007-04-01 14:13 UTC (permalink / raw)
  To: netfilter@lists.netfilter.org; +Cc: fedora-list@redhat.com

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-01 14:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-01 14:13 Configuration of NAT edwardspl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox