Re: Share internet connection/make a small server
From: Antonio Olivares (olivares14031_at_yahoo.com)
Date: 09/01/05
- Previous message: Dave Jones: "Re: RHN alert notification applet"
- Maybe in reply to: Alexander Dalloz: "Re: Share internet connection/make a small server"
- Next in thread: Antonio Olivares: "Re: Share internet connection/make a small server"
- Reply: Antonio Olivares: "Re: Share internet connection/make a small server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 1 Sep 2005 12:10:20 -0700 (PDT) To: jvian10@charter.net
--- Jeff Vian <jvian10@charter.net> wrote:
> On Thu, 2005-09-01 at 04:53 -0700, Antonio Olivares
> wrote:
> >
> > --- Jeff Vian <jvian10@charter.net> wrote:
> >
> > > On Wed, 2005-08-31 at 17:16 -0700, Antonio
> Olivares
> > > wrote:
> > > >
> > > > --- Jeff Vian <jvian10@charter.net> wrote:
> > > >
> > > > > On Wed, 2005-08-31 at 12:20 -0700, Antonio
> > > Olivares
> > > > > wrote:
> > > > > >
> > > > > > --- Antonio Olivares
> <olivares14031@yahoo.com>
> > > > > wrote:
> > > > > >
> > > > > >
> > *nat
> > :PREROUTING ACCEPT [759:76421]
> > :POSTROUTING ACCEPT [4:288]
> > :OUTPUT ACCEPT [394:23805]
> > -A POSTROUTING -o eth1 -j MASQUERADE
> > -A POSTROUTING -o eth0 -j MASQUERADE
> > -A POSTROUTING -o eth1 -j MASQUERADE
> > -A POSTROUTING -o eth0 -j MASQUERADE
> > -A POSTROUTING -o eth1 -j MASQUERADE
> > -A POSTROUTING -o eth1 -j MASQUERADE
> > COMMIT
> > # Completed on Wed Aug 31 07:52:24 2005
> > [root@rio ~]# cat /proc/sys/net/ipv4/ip_forward
> > 1
> > [root@rio ~]#
> >
> > Thanks for all your help and suggestions. It will
> > work. It is just a matter of finding where things
> are
> > stopping.
> >
> > Best Regards,
> >
> > Antonio
> >
>
> Attached is a basic script for a firewall/router
> like you are using.
>
> Simply put it somewhere on the linux box, make it
> executable, then as
> root run it.
>
> After running this script, rerun "service iptables
> save" to save the
> rules so they load automatically when you reboot.
>
> It should load all the rules you need for a dynamic
> external address on
> eth0, a fixed internal address on eth1, and DNS on
> the external
> network.
>
> To test that it works, simply retry (from the
> windows box) the ping
> commands I gave earlier, and even try a ping to
> www.yahoo.com.
> If they all work then you should be all set.
>
> This was generated using fwbuilder which is readily
> available on the net
> from www.fwbuilder.org or on sourceforge.
>
> HTH
> Jeff
>
Now, I cannot access the local network and the
internet from the machine. The eth0 device was
assigned an IP according to its MAC address and now it
does not work, it says that it is active. When I shut
down the machine it gave me some weird message which I
do not know how to get since I am sending this email
from the other machine which has internet access in my
classroom.
Is there a way to solve this issue?
TIA
Antonio
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Dave Jones: "Re: RHN alert notification applet"
- Maybe in reply to: Alexander Dalloz: "Re: Share internet connection/make a small server"
- Next in thread: Antonio Olivares: "Re: Share internet connection/make a small server"
- Reply: Antonio Olivares: "Re: Share internet connection/make a small server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|