Shawn Fertch wrote:
> I've been reading through the different HOW-TO's to try and figure a problem
> out. I posted a little bit ago asking this question, but didn't receive an
> answer. I really need to get this going but can't find the answer to what
> I'm looking for in the how-to's.
>
> Problem: I have a home LAN comprised of various OS machines (Slack 8, Free
> BSD 4.2, Solaris 8, Win9x, Win2k), with the gateway machine having Slack 8
> and an external 56k modem as my connection to the internet. The gateway
> machine has all of the connection information in there correctly, and I added
> the following lines to the end of my rc.local file for the internal machines
> to get outside:
I'm not a network guy, so be warned.
I've been running a similar LAN for a long time with no problems.
But I have the ipchains script on the gateway machine only. Not on any internal
machines.
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 192.168.0.0/24 -j MASQ
Then I dial up with ppp on that gateway machine, like any other ppp connection.
The internal machines have a default gateway that is the IP address of the
gateway machine.
That's all they have. They don't run ppp at all.
route add default gw <gateway_IP>
When I want to connect, I telnet to the gateway machine and set off PPP.
That's it. Not elegant, but it always works for me.
Sounds like you have a PPP connection problem also, that is separate from the
LAN configuration.
Can't help you there.
Paul Rech
>
>
> ipchains -P forward DENY
> ipchains -A forward -i ppp0 -j MASQ
>
> With this machine connected to my LAN, I can get it to dial. I hear the ISP
> pickup and the handshake begin. However, the modem hangs up because it can't
> get authorization. I'm assuming that it's because when my system is trying
> to authenticate to the ISP it's attempting to from my LAN instead of the ISP.
> I ran into this once before on my laptop, but I just disabled my LAN and
> redialed. However with the box that's dialing being my gateway, that isn't
> an option.
>
> Below is the closest thing to an answer that I can find/think of that might
> be causing this issue. IIRC, this came out of the PPPD how-to.
>
> <<Speaking of the options file, one of the things that MUST be in
> there no matter how you start pppd is this: '192.0.2.1:XXX.XXX.XX.XX'.
> What this is is 'localIPaddress:remoteIPaddress'. You need it there
> because normally pppd can fill in the blank itself, but fails when
> connecting to an emulator.>>
>
> I've read the Networking and Net How-to's but didn't seem find anything that
> addresses this issue. Can someone tell me if this is the cause of my issue
> why I can't successfully connect to my ISP through modem dial-in? I used to
> have ISDN with this working, but I don't recall what I did previously or
> where I got the information. Also, the box has been reloaded since I got rid
> of my ISDN.
>
> --
> Shawn
>
> "Knowing is not enough, we must apply. Willing is not enough, we must do."
> -- Bruce Lee
> _______________________________________________
> tclug-list mailing list
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list