Setting up a FC3 gateway
From: Thiago Guzella (thiago.guzella_at_gmail.com)
Date: 03/31/05
- Previous message: Cosme Faria Corrêa: "Re: /dev/ttyS0 - Permission denied."
- Next in thread: Neil Dugan: "Re: Setting up a FC3 gateway"
- Reply: Neil Dugan: "Re: Setting up a FC3 gateway"
- Reply: Alexander Dalloz: "Re: Setting up a FC3 gateway"
- Reply: Thomas Cameron: "Re: Setting up a FC3 gateway"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Cosme Faria Corrêa: "Re: /dev/ttyS0 - Permission denied."
- Next in thread: Neil Dugan: "Re: Setting up a FC3 gateway"
- Reply: Neil Dugan: "Re: Setting up a FC3 gateway"
- Reply: Alexander Dalloz: "Re: Setting up a FC3 gateway"
- Reply: Thomas Cameron: "Re: Setting up a FC3 gateway"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|