First thing to check is if you added a routing entry for the internal
network.

PPTP by default only adds a route to the internal ip of the pptp
gateway, that is if the pptp server gives you a 192.168.1.2 and it has a
192.168.1.1, there will be only a route to 192.168.1.1, you need to add
a route of 192.168.1.0/24 yourself.

If you remove the default gateway route and don't place some other route
on which the tcp/gre packets can travel the link will die when the ppp
process will send an LCP echo request and receive an ICMP unreachable
error packet.

After you connect with pptp check what routes you have, you need to have
one route on the ppp+ link, you can then try to ping the internal ip of
the pptp server, this should work (ping 192.168.1.1, with the numbers
above).

If it doesn't work, there is probably a firewall on that pptp server
that prevents it from answering your icmp packets.

If it did work just add the route for the internal network over the ppp+
link and you should be able to access any non-firewalled computer on the
internal network.

Baruch

* Michael Sternberg <[EMAIL PROTECTED]> [021121 19:21]:
> 
> I have problem using Win2K VPN server from Linux.
> 
> I success to connect to it, to receive an IP address in remote network,
> but when I try to ping something inside intranet I fail. I even can not
> ping other side of PPtP link. When I replace my default gateway with
> second side of link - PPtP connection stops after a few seconds.
> 
> The whole process of connection goes well, I have an MPPE patched 2.4.16
> kernel and no error messages are seen when I start pptp with "debug"
> option.
> 
> Where I can look to understand the problem ?
> I feel that this is something related to routing tables - but what ?
> 
>         Thanks, Michael.
> 
> -- 
> 
> 
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 

-- 
Baruch Even
http://baruch.ev-en.org/

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to