PDA

View Full Version : VPN (PPTP) with FC4


ganja420farmer
2005-07-20, 03:33 PM CDT
Hello all,

I followed all the instrutions at : http://pptpclient.sourceforge.net/howto-fedora-core-4.phtml

And set it all up (used the same settings as my XP box) but I get an error saying :

Using interface ppp0pptpconfig: monitoring interface ppp0
Connect: ppp0 <--> /dev/pts/2
LCP: timeout sending Config-Requests
Connection terminated.
pptpconfig: pppd process terminated by signal 10 (failed)
pptpconfig: SIGUSR1

Can anyone explain this to me? And even better, could someone point me in the right direction?

Thanks.

ganja420farmer
2005-07-22, 09:25 AM CDT
Ok well... after a couple days, still no response. Here's what I've tested:

I put the FC4 box on the same network that I would normally VPN into, and it connects perfectly, and I'm able to hit the boxes on the network, and oddly enough I can get to google.com and search, but NOWHERE ELSE!! Yes, you read that correctly, no where else. Not a single other webpage loads. EXCEPT, when I go by IP. So it looks like I'm just not resolving DNS over VPN. When I'm normally connected to DSL (not VPN) I can browse through name just find. I don't get it....

Then when I put the FC4 box on an outside DSL line, I get this error still:

Using interface ppp0pptpconfig: monitoring interface ppp0
Connect: ppp0 <--> /dev/pts/2
LCP: timeout sending Config-Requests
Connection terminated.
pptpconfig: pppd process terminated by signal 10 (failed)
pptpconfig: SIGUSR1

Not sure if this makes any difference, but I have the FC4 boxes joined to our Active Directory Domain. I can view the network, and connect to our servers just fine. Although, I'm also using VNC SERVER for pcanywhere related duties. Once again, I can connect to the machines using their IP address, but not by name. So 10.2.8.80 works, but fcop12.domain.net doesn't. Is this problem related?

Anyone??

Thanks.

ganja420farmer
2005-07-22, 10:02 AM CDT
So after much reading, it looks like what I'm trying to do is not possible. If anyone thinks they know how, please respond.

But I should (I assume) be able to browse the internet over VPN by name, and not just by IP.

Thoughts?

sokat
2005-07-26, 04:25 PM CDT
Hello,
I have a similar problems, but I can successfully establish the tunnel, but after that it immediately drops for apparently no reason.
I think it maybe a routing problem because to retry the tunnel I have to readd the default gateway route.
I''m not really sure what it is in windows it works perfectly.
I used the connection from pptp config. I enabled debug info, here's what I get:
can anyone help?

pptpconfig: debug information dump begins
WARNING: security sensitive information follows
pptpconfig 1.2 2004/06/19 08:57:15
# pppd --version
pppd version 2.4.2
# uname -a
Linux myhost 2.6.12-1.1398_FC4 #1 Fri Jul 15 00:52:32 EDT 2005 i686 athlon i386 GNU/Linux
# grep mppe /proc/modules
ppp_mppe 15232 0 - Live 0xf8b5f000
ppp_generic 39572 2 ppp_async,ppp_mppe, Live 0xf8c93000
# modinfo ppp_mppe
filename: /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/net/ppp_mppe.ko
license: Dual BSD/GPL
vermagic: 2.6.12-1.1398_FC4 686 REGPARM 4KSTACKS gcc-4.0
depends: ppp_generic
srcversion: EECDBE936BE7ADD483BBB6F
Array
(
[name] => tunnel
[server] => tunnel-server.com
[domain] =>
[username] => username
[password] => (hidden by pptpconfig)
[pppd-options] =>
[pptp-options] =>
[resolv] =>
[dns-options] =>
[routing] => routing_all_to_tunnel
[usepeerdns] => 1
[require-mppe] => 1
[nomppe-40] => 1
[nomppe-128] =>
[refuse-eap] => 1
[mppe-stateful] => 1
[autostart] => 1
[iconify] =>
[persist] => 1
[debug] => 1
[client-to-lan] =>
)
# route -n (before pppd)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
xxx.xxx.xxx.xxx 192.168.1.55 255.255.255.255 UGH 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 192.168.1.55 0.0.0.0 UG 0 0 0 eth1
pptpconfig: debug information dump ends, starting pppd
pppd options in effect:
debug # (from /etc/ppp/peers/tunnel)
updetach # (from command line)
persist # (from /etc/ppp/peers/tunnel)
logfd 1 # (from command line)
linkname tunnel # (from /etc/ppp/peers/tunnel)
dump # (from /etc/ppp/peers/tunnel)
noauth # (from /etc/ppp/options.pptp)
refuse-chap # (from /etc/ppp/options.pptp)
refuse-mschap # (from /etc/ppp/options.pptp)
refuse-eap # (from /etc/ppp/options.pptp)
name username # (from /etc/ppp/peers/tunnel)
remotename tunnel # (from /etc/ppp/peers/tunnel)
# (from /etc/ppp/options.pptp)
pty pptp tunnel-server.com --nolaunchpppd # (from /etc/ppp/peers/tunnel)
ipparam tunnel # (from /etc/ppp/peers/tunnel)
usepeerdns # (from /etc/ppp/peers/tunnel)
nobsdcomp # (from /etc/ppp/options.pptp)
nodeflate # (from /etc/ppp/options.pptp)
# (from /etc/ppp/peers/tunnel)
# (from /etc/ppp/peers/tunnel)
require-mppe-128 # (from /etc/ppp/options.pptp)
mppe-stateful # (from /etc/ppp/peers/tunnel)
using channel 75
Using interface ppp0pptpconfig: monitoring interface ppp0

Connect: ppp0 <--> /dev/pts/12
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3fbefb56> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap MD5> <magic 0x51b45d9b> <pcomp> <accomp>]
sent [LCP ConfNak id=0x1 <auth chap MS-v2>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3fbefb56> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <mru 1450> <asyncmap 0x0> <auth chap MS-v2> <magic 0x51b45d9b> <pcomp> <accomp>]
sent [LCP ConfAck id=0x2 <mru 1450> <asyncmap 0x0> <auth chap MS-v2> <magic 0x51b45d9b> <pcomp> <accomp>]
rcvd [LCP EchoReq id=0x0 magic=0x51b45d9b]
sent [LCP EchoRep id=0x0 magic=0x3fbefb56]
rcvd [CHAP Challenge id=0xd3 <02b69aad2e5ae7da0c4fd1b3284d5d79>, name = "*"]
sent [CHAP Response id=0xd3 <49b05c62dacadf1fe98ca969d5ec2b7b000000000000000015 9dadf71dafced1d8d728aed753b2bfe18a9cf6ef39d87000>, name = "username"]
rcvd [CHAP Success id=0xd3 "S=417063649105D01B5826A01B79084543608E0366 M=Access granted"]
sent [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.19.0.115>]
sent [IPCP TermAck id=0x1]
rcvd [CCP ConfReq id=0x1]
sent [CCP ConfAck id=0x1]
rcvd [CCP ConfNak id=0x1 <mppe -H -M +S -L -D -C>]
sent [CCP ConfReq id=0x2 <mppe -H -M +S -L -D -C>]
rcvd [CCP ConfAck id=0x2 <mppe -H -M +S -L -D -C>]
MPPE 128-bit stateful receive compression enabled
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfNak id=0x1 <addr 10.20.34.137> <ms-dns1 207.111.253.47> <ms-dns3 207.111.253.47>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 10.20.34.137> <ms-dns1 207.111.253.47> <ms-dns3 207.111.253.47>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 10.20.34.137> <ms-dns1 207.111.253.47> <ms-dns3 207.111.253.47>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.19.0.115>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 10.19.0.115>]
local IP address 10.20.34.137
remote IP address 10.19.0.115
primary DNS address 207.111.253.47
secondary DNS address 207.111.253.47
# route -n (after pppd exit)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.19.0.115 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
xx.xx.xx.xx 192.168.1.55 255.255.255.255 UGH 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 192.168.1.55 0.0.0.0 UG 0 0 0 eth1
pptpconfig: pppd process exit status 0 (started)
ip route add xx.xx.xx.xx via 192.168.1.55 dev eth1 src 192.168.1.4
RTNETLINK answers: File exists

pptpconfig: command failed, exit code 2
pptpconfig: routes added to remote networks
ip route replace default dev 'ppp0'
pptpconfig: default route changed to use tunnel
pptpconfig: DNS changes made to /etc/resolv.conf
pptpconfig: connected
# route -n (after completion)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.19.0.115 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
xx.xx.xx.xx 192.168.1.55 255.255.255.255 UGH 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
ping -c 5 10.19.0.115
connect: Network is unreachable
pptpconfig: command failed, exit code 2