You are not logged in.

#1 2008-08-31 20:13:05

Jefis
Member
Registered: 2008-08-31
Posts: 4

Internet sharing (2pc's)

Hello there, was wondering how to share internet for two pcs.
My current hardware:
  eth0 - Main internet connection,
  eth1 - First PC,
  eth2 - Second PC.

What I need, is just simple firewall + forward some ports to other pc's, and allow other pc's to connect to internet.
No dhcpd is not needed. I don't have any switch, any router or any stuff like that, i totaly have 3 network cards. Thanks.

Oh, I once tried to share internet with opensuse(some cool console gui), but, shared only for one pc.

Offline

#2 2008-09-01 03:29:40

somedrew
Member
From: Canada
Registered: 2007-05-14
Posts: 140

Re: Internet sharing (2pc's)

For a simple GUI way of doing it without manually mucking around with iptables, firestarter may be a good candidate.
cheers,

Offline

#3 2008-09-01 04:58:33

baze
Member
Registered: 2005-10-30
Posts: 393

Re: Internet sharing (2pc's)

networkmanager 0.7 will be able to do that too. pkgbuilds are in aur.

Offline

#4 2008-09-01 08:53:54

Jefis
Member
Registered: 2008-08-31
Posts: 4

Re: Internet sharing (2pc's)

Any good manual howto to do this?

Offline

#5 2008-09-01 09:59:18

ZenMystic
Member
Registered: 2008-08-25
Posts: 25

Re: Internet sharing (2pc's)

Hi
you do have a crossover cable, yes?

Offline

#6 2008-09-01 10:02:09

Jefis
Member
Registered: 2008-08-31
Posts: 4

Re: Internet sharing (2pc's)

Yes I do, with hardware everything is ok, for example I had succesfully shared internet with win2k3.
Bridge eth1 and eth2, and then share internet over eth0 to that bridget connections.
But don't know how to do that on linux.

Offline

#7 2008-09-01 12:29:12

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Internet sharing (2pc's)

^^
Just download firestater, and IIRC its a very obvious configuration. I know it is possible because I did it before about 2 years ago.


Website - Blog - arch-home
Arch User since March 2005

Offline

#8 2008-09-01 14:01:12

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: Internet sharing (2pc's)

If you just want a straight bridge...
http://www.linuxfoundation.org/en/Net:B … figuration
Skip to the "Manual Configuration" setting.

EDIT:
If you want the quick answer, "Sample Setup" describes everything pretty briefly. I'm not sure how you set up a permanent bridge in Arch, pretty sure you do it in /etc/rc.conf. This guide has you using /etc/net, which most likely won't work on Arch,

Last edited by arew264 (2008-09-01 14:05:32)

Offline

#9 2008-09-01 17:15:25

ZenMystic
Member
Registered: 2008-08-25
Posts: 25

Re: Internet sharing (2pc's)

Offline

Board footer

Powered by FluxBB