Gentoo Archives: gentoo-user

From: Vladimir Rusinov <vladimir@×××××××××.info>
To: Gentoo User List <gentoo-user@l.g.o>
Subject: [gentoo-user] pptp client under nat
Date: Tue, 29 Apr 2008 13:48:42
Message-Id: f6fdfb550804290648k600472efhbc0259d9a2e12a2f@mail.gmail.com
1 Hello!
2
3 I'm trying to connect from my home box to my office network.
4 At home I have US Robotics ADSL modem (192.168.1.1) and gentoo host
5 192.168.1.3. 192.168.1.3 is set up as DMZ in modem (so, all ports are
6 open and all portmapped to 192.168.1.3). iptables is not set up (it
7 looks I haven't even module)
8 At office I have D-Link router with pptp server enabled. It's public
9 address is a.b.c.d and internal network is 192.168.5.0/24
10
11 I've setup chap-secrets and peer and when I'm doing #pon my_vpn I'm
12 getting following:
13 using channel 32
14 Using interface ppp0
15 Connect: ppp0 <--> /dev/pts/7
16 sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x24770bb6> <pcomp> <accomp>]
17 rcvd [LCP ConfReq id=0x0 <mru 1448> <auth chap MS-v2> <magic <snip>>]
18 sent [LCP ConfAck id=0x0 <mru 1448> <auth chap MS-v2> <magic <snip>>]
19 rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
20 sent [LCP ConfReq id=0x2 <magic <snip>>]
21 rcvd [LCP ConfAck id=0x2 <magic <snip>>]
22 <snip>
23 rcvd [CHAP Success id=0x17 "<snip>"]
24 CHAP authentication succeeded
25 sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.1.3>]
26 rcvd [CCP ConfReq id=0x0 <mppe +H +M +S +L -D -C>]
27 sent [CCP ConfReq id=0x1]
28 sent [CCP ConfRej id=0x0 <mppe +H +M +S +L -D -C>]
29 rcvd [IPCP ConfReq id=0x0 <addr 192.168.5.1>]
30 sent [IPCP ConfAck id=0x0 <addr 192.168.5.1>]
31 rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
32 sent [IPCP ConfReq id=0x2 <addr 192.168.1.3>]
33 rcvd [CCP ConfNak id=0x1 <mppe +H -M +S -L -D -C>]
34 sent [CCP ConfReq id=0x2]
35 rcvd [CCP TermReq id=0x2]
36 sent [CCP TermAck id=0x2]
37 rcvd [LCP TermReq id=0x1]
38 LCP terminated by peer
39 sent [LCP TermAck id=0x1]
40 Script pptp --loglevel 1 a.b.c.d --nolaunchpppd finished (pid 27227),
41 status = 0x0
42 Modem hangup
43 Connection terminated.
44
45
46 May be problem is in "192.168.1.3", which is not my home external ip,
47 but internal?
48
49 Here is my peers/my_vpn:
50 name <user>
51 remotename <remotename>
52
53 pty "pptp --loglevel 1 a.b.c.d --nolaunchpppd"
54
55 #noauth
56 debug
57 nodetach
58 lock
59 defaultroute
60 #noccp
61
62 file /etc/ppp/options.pptp
63
64 --
65 Vladimir Rusinov
66 --
67 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] pptp client under nat Etaoin Shrdlu <shrdlu@×××××××××××××.org>