Re: Share internet connection/make a small server

From: Antonio Olivares (olivares14031_at_yahoo.com)
Date: 09/01/05

  • Next message: Rahul Sundaram: "Re: RHN alert notification applet"
    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
    

  • Next message: Rahul Sundaram: "Re: RHN alert notification applet"

    Relevant Pages

    • Re: LAN connection, but not shared internet connection
      ... the host can't ping it's own IP/IP name - it can ... > master browser has no thing to do with the internet access. ... You just setup a network and all ...
      (microsoft.public.win2000.networking)
    • Re: IP filter?
      ... > I have a Sun with SunOs 5.5 and I can't connect to it from outside the ... > local network, it doesn't even answer to the ping. ... > Does SunOs have any built-in ip filtering capabilities? ...
      (comp.sys.sun.admin)
    • Fwd: Re: Frequent loss of contact with ISP
      ... Subject: Re: Frequent loss of contact with ISP ... >> being logged around the time you lose connection. ... I tried to ping the IP address after the word ... I don't have a local network or hub or switch. ...
      (freebsd-questions)
    • Re: routing problem
      ... >> I get an ipaddress and dns and gateways from dns but nothing beyond. ... >> I can ping any machine on the network but I cannot ping the other side of ... I can even pull down the web page of my local server ... >> outside the local network. ...
      (microsoft.public.windows.server.networking)
    • Re: Strange problem accessing Virgin.net servers
      ... Currently my Internet access is all working fine, ... >unable to access my Virgin pop account on their server pop.virgin.net. ... >I am also unable to ping either of these addresses, ... I am able to telnet www.virgin.net 80 and to ...
      (comp.os.linux.networking)