Question:How to realize NAT Internet sharing with two NICs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello netfilter!
   I am a newer for Linux OS. I made use of "NAT" Service under MS Windows Platform to realize internet sharing before.
Since I met Linux OS, I found that Linux is a greater than MS Windows.So I make a decision, that is to realize internet sharing under Linux with "iptables",who can tell me the command or script.

NIC info:
      eth0:   IPADDR: 10.10.40.6
              NETMASK:255.255.255.252
              GATEWAY:10.10.40.5
              DNSSERVE:211.100.0.57 211.100.0.57

      eth1:   IPADDR: 172.16.255.254
              NETMASK:255.255.0.0 

the clients addresses are 172.16. x . x


Thank you!!! 

e-mail:lijnshi112@xxxxxxx   

A chinese with poor english! 
	
lijinshi112@xxxxxxxx
          2003-06-14






[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux