Re: PPPD server routing problem? Mandrake/mgetty/pppd/D-link router

From: martin02 (lutherpFORTY_at_bellsouth.net)
Date: 10/06/03


Date: Sun, 05 Oct 2003 19:05:45 -0400

Clifford Kite wrote:

> Clifford Kite <kite@see.signature.id> wrote:
>> Much better! Try adding the line
>
>> /sbin/route add 192.168.1.2 gw 192.168.0.133 $1
>

Adding additional gateways has no effect.

>
>
> I think that whether even that will work is problematical and even
> more problematical if it does work that it will continue to do so.
> It will depend on the range of 192.168.0.0 IP addresses you are
> allowed to use. If you can only use the 133 one for the "server"
> then it isn't likely to work.

I do have other devices on the local LAN (192.168.0.0) but I can be pretty
much whatever I was IP-wise in this range, with exceptions. (IP's already
addigned to other computers on the local LAN)

I created a virtual interface (eth0:0) and assigned it to 192.168.0.95 so
the pppdserver has 2 separate LAN addresses I "could" assing it to.
192.168.0.133 (D-Link DHCP) and 192.168.0.95 (assigned) all devices on the
local LAN can ping both.

 
> If you have a small subnet alloted to you then assigning a second IP
> address in that subnet to the PPP client should work. Otherwise the
> only solution I can see would be to set up SNAT for the client on the
> server through 192.168.0.133, and then you should be able to use any
> private IP address (except 192.168.0.133) for the client.
>

Well, from what I've read on any HowTo's that were even vaguely related, I
have mgetty and pppd working 'as advertised'. When the win98 client is
dialed in and logged on, I can do any normal operation over ppp that you
could when connected to the internet. BUT!! only at/with the pppdserver
machine only. No access to anything beyond the PPPD server. With the
exception that some pings 'beyond' do work. Go figure.

That puts me into trying to figure out why iptables keeps giving me a
"invalid argument" or "invalid target" errors for all my attempts to add a
POSTROUTING chain. See my other thread here titled:
        " iptables - "invalid argument" error ? "

You wouldn't think that hooking this up would be so head-bangingly fun!

Luther



Relevant Pages

  • Re: Allowing Visitor Internet access
    ... inside the local lan to the internet" ... In answer to your other question: "I need to Know is what firewall ... > and that he does not want access to the local domain but only wants access ... My client does not want to ...
    (microsoft.public.windows.server.sbs)
  • TcpListener with external/internet IP?
    ... I have a test application that transfers files from a client to a ... I've been locally testing this on my local LAN and it has been ... I'm thinking it is due to the TcpListener only binding to my ... but the client never connects to my machine. ...
    (microsoft.public.dotnet.languages.vb)
  • Cisco VPN Client - client-LAN access for headquarter
    ... I understand that the VPN Client´s "local LAN access" feature enables ... Having the feature activated I can see my local LAN ... routes and the secured routes in the VPN Client statistics. ...
    (comp.dcom.sys.cisco)
  • Re: Cisco VPN CLient question
    ... go to "options/properties" and check "allow local LAN ... > network printers. ... Is this a feature of the Cisco client or is there a work ...
    (comp.security.firewalls)