I have two machines. Machine 1 (denoted as M1
) is Windows 7 and has two network cards. Machine 2 (denoted as M2
) is RedHat 6.5. In M1
, the first network card is connected into the Internet and the second network card is connected to M2
. Now both M1
and M2
can have network accesses.
M2
is my local server, and I have installed the WWW server and the SSH server at it. Now I want to other machines can access the WWW service ans SSH service in M2
. How could I set up the network in M1
to meet this need? Is it necessary to install a DNS server in M1
?
M1
andM2
were originally connected to a modem. They are in a LAN192.168.0.*
. The modem has the public network IP. At that time, I set a port mapping in the modem, so that the WWW requests or SSH requests are transmitted intoM2
. Now I get rid of the modem and let M1 access the Internet via M1's second network card. You're right, maybe we should exchange the position between M1 and M2. My main concern is that if the RedHat was exposed into the Internet, maybe it needs more secure setting.