Click to See Complete Forum and Search --> : Cant get pmfirewall working ;-(


ihateBill
03-21-2001, 02:33 PM
Hi there, newbie for 2 months here.
All I want to do is share my dsl connection between a linux box and a win 98SE box.
eth0 192.168.0.1 is the NIC connected to the Windows on a cross-over cable. I can ping from win to linux and from linux to win.
eth1 in netcfg is disable (it is used by the dsl modem to connect the net)
Ive put ppp0 as external device in pmfirewall(im sure it is ppp0 and not a ehtx caus im not static ip)Ive add in hosts of netcfg 192.168.0.2 (my windows IP)
In my windows box, ive put as gateway:192.168.0.2/255.255.255.0 In internet explorer,tools/internet options/Connections/LAN Settings/use a Proxy/Advanced/HTTP:192.168.0.1:80
In my linux box, linuxconf-Networking-Client Tasks-Routing and Gateways-Defaults,ive put nothing in "Default Gateway" but i enable the routing. I tought it was done but, it is not working. here is the link to the tutorial i follow step-by-step: http://www.speedcorp.net/linux/articles/dsl_pppoe.shtml

here is my /etc/resolv.conf
# MADE-BY-RP-PPPOE
nameserver 204.101.251.1
nameserver 204.101.251.2
search

For Ip masquerading, ive put "y" in the pmfirewall installation.

Using red hat 6.1....

Please please help me i dont know what else to do ;~(

[ 21 March 2001: Message edited by: ihateBill ]

LordStanley
03-21-2001, 05:31 PM
you need to get yourself another nic card. eth0 will be used to connect to the internet and eth1 is for the windows box(with the crossover cable). i say you should just get a small hub it makes life so much easier.

if your using redhat DONT use the same nic card( get a different brand)

pmfirewall does not controll weather or not you connect to the internet thats the networking stuff you nedd to deal with when you get both cards installed properly.

[ 21 March 2001: Message edited by: LordStanley ]

ihateBill
03-21-2001, 08:05 PM
It works. But not the DNS. I can connect a website from my windows only with the IP adress.
I do have 2 NIC in my linux box and 1 in my windows.

tachyonism
03-21-2001, 09:37 PM
I assume that these are your gateway from your dsl provider :
204.101.251.1
204.101.251.2

Put those two gateway IP's in your Windows DNS configuration.

I hope that'd help.

ihateBill
03-21-2001, 10:15 PM
It works!!!!
thanks so much for the help guys ;)

...Im soooo happy now