Setting up a FC3 gateway

From: Thiago Guzella (thiago.guzella_at_gmail.com)
Date: 03/31/05

  • Next message: Alexander Dalloz: "Re: /dev/ttyS0 - Permission denied."
    Date: Wed, 30 Mar 2005 20:19:09 -0300
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Greetings,

    I am running FC3 x86_64 on a DSL-connected pc, which works great by
    itself; I have another machine running windoze XP, and would like to
    use the first pc as a gateway, so that windoze can have access to the
    network.

    In the linux machine, with 2 ethernet devices, eth0-> connected to
    windoze, eth1-> connected to the ADSL modem (under ppp0), eth0 is set
    with ip address 192.168.1.1, netmask 255.255.255.0, and eth1 is set by
    adsl-setup... The windoze pc has an ip address 192.168.1.2, netmask
    255.255.255.0, gateway 192.168.1.1 ( = the FC3 ip address).

    Using this setup, windoze can ping linux, but linux can't ping windoze
    (no response). I even tried running ping with -I eth0 with no luck :(

    Well, i started doing the usual stuff in order to set the gateway under fedora:
    1) enabling ip_forwarding on /etc/sysctl.conf
    2) modprobing iptables_nat
    3) adding iptables masquerading rules to table nat (iptables -t nat -A
    POSTROUTING -o ppp0 -j MASQUERADE)

    needless to say that windoze remains unconnected... what am I missing????
    Thanks in advance

    -- 
    Thiago dos Santos Guzella
    Electrical Enginnering Student - UFMG (www.ufmg.br), Brazil 
    Linux User #354160
    UIN: 13465286. Jabber: tguzella @ jabber.org
    "Faith: not wanting to know what is true." 
    Friedrich Nietzsche
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Alexander Dalloz: "Re: /dev/ttyS0 - Permission denied."

    Relevant Pages

    • Re: eMachines OEM XP woes - time to buy $tandard?
      ... >>> under Windoze. ... Let's say one wants to install NVU. ... Now show how much easier it is to install MS Office on Linux than ... Windows OS's from Win3.1 to Windows 2003 Server. ...
      (microsoft.public.windowsxp.general)
    • Re: eMachines OEM XP woes - time to buy $tandard?
      ... Let's say one wants to install NVU. ... >> average computer morons can just as easily learn to run Linux as ... >> Windoze, ... The ability to organize a start menu ... ...
      (microsoft.public.windowsxp.general)
    • (no subject)
      ... >>>A poor Communist country tries to enhance Linux, ... >coming out of the dark age of communism. ... But if they switched because they couldn't afford Windoze standards, ... >>features and hardware support. ...
      (comp.security.firewalls)
    • Re: wireless network
      ... And truth be told, the way MS has 'educated' its users, often the typical Windoze user has this style of asking questions. ... you are new, perhaps unaware of the do's and don'ts in each particular newsgroup or usenet in general. ... Mention distro, kernel, hardware if applicable. ... Sensitive area with many Linux users. ...
      (comp.os.linux.misc)
    • Re: Where Can I Buy a Zombie PC?
      ... I only ever caught one malware -as far as I know ... The Windoze XP installation routine does this by default. ... Linux this past year than for Windows. ... Vista, may slow down the rate at which machines are impacted by malware, ...
      (microsoft.public.windowsxp.general)