Re: Network and Internet sharing

From: Alexander Dalloz (alexander.dalloz_at_uni-bielefeld.de)
Date: 03/30/04

  • Next message: Enric Martínez: "spamassassin fails to load"
    Date: Tue, 30 Mar 2004 21:59:07 +0200
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    
    
    

    Am Di, den 30.03.2004 schrieb Andrius um 21:45:

    > Hello,
    > How is it possible to share internet connection (like in Windows
    > connection sharing)? I have two networks cards in one computer and one
    > in another. Two computers connected through this networks cards.
    > Besides, it would be grate, if internet will work in Windows. Thank you
    > for help in advance...
    > Andrius

    Please do not hijack foreign threads. For posting new topic mail to the
    list use a new and empty mail editor window and do not press reply with
    a different unrelated list mail. Else your mail contains references to
    different list mail and this way mix up threads.

    To your question: choose one of the PCs as the router, the on connected
    to the net. On this one you have to enable IP forwarding, see
    /etc/sysctl.conf. You too have to enable NAT/masquerading by creating an
    iptables rule like

    iptables -A POSTROUTING -o ppp0 -j MASQUERADE

    where here ppp0 is the outgoing internet device. Obviously the router PC
    itself has to be able to connect the internet. On the other PC which
    uses the router PC you have to set the router IP as gateway and set the
    DNS servers of your ISP in /etc/resolv.conf.

    Alexander

    -- 
    Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
    Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
    Sirendipity 21:53:31 up 11 days, 5:35, load average: 1.69, 1.46, 1.27 
                       [ Γνωθι σ'αυτον - gnothi seauton ]
                 my life is a planetarium - and you are the stars
    
    

    
    

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    


  • Next message: Enric Martínez: "spamassassin fails to load"

    Relevant Pages

    • Re: Serious Security Issue in Windows XP SP2s Firewall
      ... Subject: AW: Serious Security Issue in Windows XP SP2's Firewall ... If you update a WinXP SP-1 with enabled Internet ... Connection Firewall ...
      (Focus-Microsoft)
    • Re: Networking Problem
      ... jack--the connection has to go through machine A. ... out the Internet connection on machine A so that the Win98 machine could ... I added a Windows server. ... purchased the wireless router. ...
      (microsoft.public.windowsxp.general)
    • Re: Urgent! New router and big disaster
      ... First Page of the Internet Connection Wizard, ... Next I Select a local router device with an ip address. ... You should give your SBS a fixed external address so you can forward ports ...
      (microsoft.public.windows.server.sbs)
    • Re: Slow Internet Connection Sharing
      ... Router between the Modem and Computer. ... Internet Connection Sharing. ... can you log into Hotmail and Messenger? ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Internet Connection Delays
      ... >> I use Windows XP Pro with SP2 installed, AMD Duron Processor, ... >> have to wait 90 seconds to connect to the internet after my ... >> delete internet connection ... > I have found problems with some applications, relating to DEP. ...
      (microsoft.public.windowsxp.help_and_support)