[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VPN through ethernet card



Roberto Sanchez wrote:

 >>I read the http://pptpclient.sourceforge.net/howto-debian.phtml and the
Routing HOWTO, but that doesn't help much.

Are you using the Debian packages for pptpconfig that they recommend?

I am using the Debian package pptp-linux, but not the pptpconfig,
because it isn't on the seven CD-s of Woody, and I'm not yet on the
Internet with my Debian, to "apt-get install" it. I'm trying to
configuring the tunnel by hand.

I think, you can ping to your own vpn device (ppp0), but you can't
ping to any pc in internet, neither your vpn peer, isn't it? You need
change the default route...

If the tunnel is up, the routing table is:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
212.200.112.242 *               255.255.255.255 UH    0      0        0 ppp0
localnet        *               255.255.255.0   U     0      0        0 eth0
default         192.168.98.1    0.0.0.0         UG    0      0        0 eth0

ping 212.200.112.242 is OK, and yes, I can't ping to any pc in internet.
My vpn peer? I get from my I Provider only the gw IP: 192.168.98.1 and nothing else. Howewer:
ifconfig ppp0 | grep inet
inet addr:192.168.97.234  P-t-P:212.200.112.242  Mask:255.255.255.255
So, my vpn peer has the 212.200.112.242 IP number, it isn't?

But I don't know, how to change the default route. If I do:
route add default gw 212.200.112.242 netmask 0.0.0.0 ppp0

then the Kernel IP routing table is:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
212.200.112.242 *               255.255.255.255 UH    0      0        0 ppp0
localnet        *               255.255.255.0   U     0      0        0 eth0
default         212.200.112.242 0.0.0.0         UG    0      0        0 ppp0
default         192.168.98.1    0.0.0.0         UG    0      0        0 eth0

I can't still ping to any pc in internet. What can I do?

--
Regards,
Paul (Sorry for my English!)
->->-> Debian Junior Project :-) :-) :-) :-) :-) :-) :-) :-) :-)





--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.12 - Release Date: 14.1.2005



Reply to: