Click to See Complete Forum and Search --> : I'm sooooo close
Gaccm
11-04-2000, 05:27 AM
heres my goal, set up my linux box as a router for my win box. The hardware works, each box can ping the other. I have the firewall with ip_masq built in from rp-pppoe. I set the linux box as a gateway for win box. And when i ping slashdot, i see it travel through my switch AND i see the lights flicker on the dsl modem, but it never comes back, so my win box has no ocnnect http://www.linuxnewbie.org/ubb/frown.gif Currently, i don't know what to do, and just guessing, if you know anything that would be helpful, please post. I NEED to finish the project this weekend.
Gaccm
11-04-2000, 06:14 AM
the most likely problem is the firewall with built-in masq from rp-pppoe, unfortunitly i know squat about ipcahains, and i want to use a pre-made one (for now). It seems my lin and win box can do anything, so the prob most be in the forwarding/masqing.
P.S. i use debianm and in a file /etc/networks/options, there is a line ip_forward=no, i changed it to yes, but i made no differenes. anyone know what i did?
P.P.S would it help if i configured Samba? i have it installed and running as a daeman, but windows still can't see it in network neighborhood (and can't "find computer" it either).
Fandelem
11-04-2000, 06:26 AM
first off, i recommend PMFirewall for the new-to-linux, espescially to IPCHAINS. (pmfirewall uses ipchains, actually, and you can edit their config files and just add in your own IPCHAINS rulesets as well, it's quite nice, imo).
secondly, configuring samba will only help you be able to share files within your network, and for that, i recommend following the NHF on that.
if you want instructions on how to install PMFirewall, try my new HOWTO, I'm trying to get people to try it and tell me how it works out, it was written for Redhat but something like PMFirewall should be global throughout the distro's.. give it a shot: http://www.fandelem.com/nhf-5.html (http://www.fandelem.com/nhf.html)
btw, yes, it is a firewall problem I believe.. if you can ping each other, then you're doing good so far.. pat yourself on the back.
regards,
~kyle
[This message has been edited by Fandelem (edited 04 November 2000).]
fsvara
11-04-2000, 10:58 AM
I'm quite in the same boat as Gaccm. I want to do the same except that I have multiple mixed-OS boxes behind the gateway.
Gaccm, could you tell me how you got to where
you are?
Gaccm
11-04-2000, 04:18 PM
ok, here's my steps
installed the 2nd NIC
linux saw it on boot-up, just need to start it
ifconfig eth1 192.168.1.1 netmask 255.255.0.0
(there are 4 different groups of IPs that are private, and each uses a differenet netmask, i can't remember them, so just use 192.168.x.x)
i did adsl-setup, and set the firewall to masquerade.
i hooked up both boxes to ping them selves (they MUST have the same netmask) for Win, you get the info from winipcfg.
IIRC, i could ping each other from then on, not sure. you might have to make the linux eth card the gateway (look under networking in control panel). Then you should be good to go.
Gaccm
11-04-2000, 04:42 PM
I AM A MORON. well i used pmfirewall thing, and in the readme, it said to do a ipcahins -L -n to view the rules, i did that and got:
ipchains not compatible with this kernel.
STUPID STUPID STUPID. I thought that i had included ip_masq on install, but guess not. Well now i need to compile a new kernel (last time i compiled a new kernel, i screwed up so bad it needed a fresh install)
Gaccm
11-04-2000, 11:53 PM
WOOHOO its WORKING!!!!!
i just needing to add ip_masq support.
P.S. fan, i use PMfirewall, and followed all the commands, i agree that it would be better if it worked. while i had it on, i was not able to use the internet connection, as soon as i turned it off, and used the one that came with rp-pppoe it worked (judging how you can custumize pm so much, i bet its a LOT better).
mike32
11-05-2000, 06:05 AM
Hi,
Slashdot doesnt reply to pings so it's best to ping somewhere else when u are testing.
Mike