Mikkel L. Ellertson wrote:

Jo�o Gon�alves wrote:
ed wrote:

Jo�o Gon�alves wrote:

ed wrote:

Jo�o Gon�alves wrote:

I'm use the mandrake 2005 LE. This Pc has a connection to the
Internet through ADSL modem.

I have a local network, with more tow PCs, connected in one hub
and  I want  to share  my Internet connection in  with the other PCs.

What I have to do in Shorewall to enable that?

Regards,
JG


from your statement it appears you are using fixed IP numbers on the
local lan?
in your /etc/hosts file, make sure the IP numbers and names are set
correctly for all the computers on your network, then fire up "mcc"
(in a text console, as root, without the quotes this is the mandrake
control center, you need to then network and Internet, then share
connection...  I am betting if you know enough to set up a network
with fixed IPs, then
the rest is something you can answer, if not write back...


I'm using DHCP in a local  area works perfect. The problem is
Internet access that why I ask about shorewall.


the setting up of your /etc/hosts file still is the next step... if
you have not done so.
you can get to the shorewall (well IPtables) config in mcc also
(security). why not try with the firewall settings to everything on
each box until you get it going


I checked the hosts I saw the following:
"hosts.conf"
order hosts, bind
multi on

"hosts"
127.0.0.01            master localhost

"hosts.allow"
Nothing

"hosts.deny"
Nothing

In a local network I only can ping the computers and with Smb4k I can
connect with th other windows PCs. This is actual situation.

JG

Dumb question time - can you connect to Internet sites from the Windows
computers using IP addresses instead of names? If so, what are you
providing for name servers on your DHCP setup? You may want to look into
using dnsmasq for both your DHCP server, and as a name server for your
local network.

Mikkel
------------------------------------------------------------------------

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________
The problem is already solved, and it is when we share a connection to the Internet we have to say the name of workgroup.

JG


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to