From: ]Aphex[ <ap...@ma...> - 2004-03-05 19:43:34
|
1. The only services checked are: firewall, named and sshd 2. Cards are configured properly (all got the right ip,can ping etc..) 3. see above :) 4. i rebooted, and then ran adsl-start, which succeeded. 5. gateway is set. Still doesn't work. When i use iptraf to check what is going on I see that my computer sends the ping packets to the DL box, the DL box then just forwards them to the ppp0 interface, I can actually see those packets of source 192.168.2.2 and destination some public ip. When I just filter packets of ppp0 i shouldn't see packets with private ip's right? So there would be the problem. Masquerading is just not working... There isn't any on/off switch for this? Can someone tell me what to do... I wouldn't know how to turn masquerading on. Alex ----- Original Message ----- From: "Karl Kuehn" <la...@so...> To: <dev...@li...>; "]Aphex[" <ap...@ma...> Sent: Friday, March 05, 2004 7:10 PM Subject: Re: [Devil-Linux-discuss] can't get DL to masquerade > Here are a few steps you can take to try and diagnose why your DL box > is not NATing/routing: > > 1. in the setup program and make sure in services that routing is > checked off. > > 2. setup -> net, re-choose the 2 card nic. > > 3. setup ->net make sure that your first nic is configured for wan and > the second for your lan (an easy "woops" moment) > > 4. save the configuration to disk and reboot, few of the commands in > setup actually cause something to run until you reboot. > > 5. I think you have already covered this, but make sure that the > client computers have the gateway set to the DL box. > > Good luck! > Karl Kuehn > la...@so... > > > On Mar 5, 2004, at 12:39 PM, ]Aphex[ wrote: > > > I'm using a basic setup, 1 nic to the adsl ethernet modem, another one > > to > > the switch. When a computer connected to the switch tries to send > > something > > to google i can see the packet arrive on the nic of the DL box using > > some > > capture tool, but i don't see it leave my other interface, so DL just > > drops > > the packet... I have used the setup program and I choose the standard > > 2 nic > > firewall setting. I can ping google from the console of DL, and I can > > also > > ping the other machines on my network. So it must be a problem with the > > firewall/masquerading. Can someone give me a place to look? I really > > wouldn't know where to look for errors or how to debug that. Never ran > > a > > firewall on linux before. > > |