aku abis install pptpd daemon, trus dah coba jalanin dan forward dari modem
juga udah jalan, di coba di LAN udah bisa, trus di coba dari luar ada yang bisa
ada yang ga,
klo ga bisa ntu di server pptpd nya muncul baris seperti ini:
LCP: timeout sending Config-Requests
trus ku coba capture pake tcpdump hasilnya
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
$ sudo tcpdump -i eth1 -vv tcp port 1723 or 47
tcpdump: listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
11:16:04.890789 IP (tos 0x0, ttl 123, id 38035, offset 0, flags [DF], proto:
TCP (6), length: 48) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2322 >
proxy.local.1723: S, cksum 0x23ec (correct), 3572452546:3572452546(0) win 65535
<mss 1452,nop,nop,sackOK>
11:16:31.588693 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: TCP
(6), length: 48) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2322: S, cksum 0x6cc8 (correct),
2996235683:2996235683(0) ack 3572452547 win 5840 <mss 1460,nop,nop,sackOK>
11:16:05.149597 IP (tos 0x0, ttl 123, id 38052, offset 0, flags [DF], proto:
TCP (6), length: 196) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2322 >
proxy.local.1723: P 1:157(156) ack 1 win 65535: pptp Length=156 CTRL-MSG
Magic-Cookie=1a2b3c4d CTRL_MSGTYPE=SCCRQ PROTO_VER(1.0) FRAME_CAP(A)
BEARER_CAP(A) MAX_CHAN(0) FIRM_REV(2600) [|pptp]
11:16:05.149626 IP (tos 0x0, ttl 64, id 37159, offset 0, flags [DF], proto:
TCP (6), length: 40) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2322: ., cksum 0x98f0 (correct),
1:1(0) ack 157 win 5840
11:16:05.198267 IP (tos 0x0, ttl 64, id 37160, offset 0, flags [DF], proto:
TCP (6), length: 196) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2322: P 1:157(156) ack 157 win 5840:
pptp Length=156 CTRL-MSG Magic-Cookie=1a2b3c4d CTRL_MSGTYPE=SCCRP
PROTO_VER(1.0) RESULT_CODE(1:Successful channel establishment) ERR_CODE(0:None)
FRAME_CAP() BEARER_CAP() MAX_CHAN(1) FIRM_REV(1) [|pptp]
11:16:08.196451 IP (tos 0x0, ttl 64, id 37161, offset 0, flags [DF], proto:
TCP (6), length: 196) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2322: P 1:157(156) ack 157 win 5840:
pptp Length=156 CTRL-MSG Magic-Cookie=1a2b3c4d CTRL_MSGTYPE=SCCRP
PROTO_VER(1.0) RESULT_CODE(1:Successful channel establishment) ERR_CODE(0:None)
FRAME_CAP() BEARER_CAP() MAX_CHAN(1) FIRM_REV(1) [|pptp]
11:16:08.336292 IP (tos 0x0, ttl 123, id 38059, offset 0, flags [DF], proto:
TCP (6), length: 208) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2322 >
proxy.local.1723: P 157:325(168) ack 157 win 65379: pptp Length=168 CTRL-MSG
Magic-Cookie=1a2b3c4d CTRL_MSGTYPE=OCRQ CALL_ID(32768) CALL_SER_NUM(58102)
MIN_BPS(300) MAX_BPS(100000000) BEARER_TYPE(Any) FRAME_TYPE(E) RECV_WIN(64)
PROC_DELAY(0) PHONE_NO_LEN(0) [|pptp]
11:16:08.336310 IP (tos 0x0, ttl 64, id 37162, offset 0, flags [DF], proto:
TCP (6), length: 40) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2322: ., cksum 0x97ac (correct),
157:157(0) ack 325 win 5840
11:16:08.337169 IP (tos 0x0, ttl 64, id 37163, offset 0, flags [DF], proto:
TCP (6), length: 72) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2322: P, cksum 0x2df7 (incorrect (->
0xd42c), 157:189(32) ack 325 win 5840: pptp Length=32 CTRL-MSG
Magic-Cookie=1a2b3c4d CTRL_MSGTYPE=OCRP CALL_ID(1152) PEER_CALL_ID(32768)
RESULT_CODE(1:Connected) ERR_CODE(0:None) CAUSE_CODE(0) CONN_SPEED(100000000)
RECV_WIN(64) PROC_DELAY(0) PHY_CHAN_ID(0)
11:16:10.461480 IP (tos 0x0, ttl 123, id 38063, offset 0, flags [DF], proto:
TCP (6), length: 40) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2322 >
proxy.local.1723: ., cksum 0xaf18 (correct), 325:325(0) ack 157 win 65379
11:16:10.918450 IP (tos 0x0, ttl 123, id 38064, offset 0, flags [DF], proto:
TCP (6), length: 64) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2322 >
proxy.local.1723: P, cksum 0x5446 (correct), 325:349(24) ack 189 win 65347:
pptp Length=24 CTRL-MSG Magic-Cookie=1a2b3c4d CTRL_MSGTYPE=SLI
PEER_CALL_ID(1042) SEND_ACCM(0xffffffff) RECV_ACCM(0xffffffff)
11:16:10.956540 IP (tos 0x0, ttl 64, id 37164, offset 0, flags [DF], proto:
TCP (6), length: 40) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2322: ., cksum 0x9774 (correct),
189:189(0) ack 349 win 5840
11:16:38.501429 IP (tos 0x0, ttl 64, id 37165, offset 0, flags [DF], proto:
TCP (6), length: 40) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2322: F, cksum 0x9773 (correct),
189:189(0) ack 349 win 5840
11:16:38.722587 IP (tos 0x0, ttl 123, id 38133, offset 0, flags [DF], proto:
TCP (6), length: 40) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2322 >
proxy.local.1723: F, cksum 0xaefe (correct), 349:349(0) ack 190 win 65347
11:16:38.722618 IP (tos 0x0, ttl 64, id 37166, offset 0, flags [DF], proto:
TCP (6), length: 40) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2322: ., cksum 0x9772 (correct),
190:190(0) ack 350 win 5840
11:16:43.207067 IP (tos 0x0, ttl 123, id 38137, offset 0, flags [DF], proto:
TCP (6), length: 48) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2328 >
proxy.local.1723: S, cksum 0xf53e (correct), 2252786194:2252786194(0) win 65535
<mss 1452,nop,nop,sackOK>
11:16:43.207106 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: TCP
(6), length: 48) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2328: S, cksum 0x3cea (correct),
3051744133:3051744133(0) ack 2252786195 win 5840 <mss 1460,nop,nop,sackOK>
11:16:43.494964 IP (tos 0x0, ttl 123, id 38138, offset 0, flags [DF], proto:
TCP (6), length: 196) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2328 >
proxy.local.1723: P 1:157(156) ack 1 win 65535: pptp Length=156 CTRL-MSG
Magic-Cookie=1a2b3c4d CTRL_MSGTYPE=SCCRQ PROTO_VER(1.0) FRAME_CAP(A)
BEARER_CAP(A) MAX_CHAN(0) FIRM_REV(2600) [|pptp]
11:16:43.494991 IP (tos 0x0, ttl 64, id 19056, offset 0, flags [DF], proto:
TCP (6), length: 40) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2328: ., cksum 0x6912 (correct),
1:1(0) ack 157 win 5840
11:16:43.496441 IP (tos 0x0, ttl 64, id 19057, offset 0, flags [DF], proto:
TCP (6), length: 196) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2328: P 1:157(156) ack 157 win 5840:
pptp Length=156 CTRL-MSG Magic-Cookie=1a2b3c4d CTRL_MSGTYPE=SCCRP
PROTO_VER(1.0) RESULT_CODE(1:Successful channel establishment) ERR_CODE(0:None)
FRAME_CAP() BEARER_CAP() MAX_CHAN(1) FIRM_REV(1) [|pptp]
11:16:45.166849 IP (tos 0x0, ttl 123, id 38139, offset 0, flags [DF], proto:
TCP (6), length: 40) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2328 >
proxy.local.1723: F, cksum 0x7fe1 (correct), 157:157(0) ack 1 win 65535
11:16:45.167080 IP (tos 0x0, ttl 64, id 19058, offset 0, flags [DF], proto:
TCP (6), length: 40) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2328: F, cksum 0x6874 (correct),
157:157(0) ack 158 win 5840
11:16:45.543829 IP (tos 0x0, ttl 123, id 38140, offset 0, flags [DF], proto:
TCP (6), length: 52) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2328 >
proxy.local.1723: ., cksum 0x05b8 (correct), 158:158(0) ack 1 win 65535
<nop,nop,sack 1 {157:158}>
11:16:45.545236 IP (tos 0x0, ttl 123, id 38141, offset 0, flags [DF], proto:
TCP (6), length: 40) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2328 >
proxy.local.1723: R, cksum 0x7fdd (correct), 158:158(0) ack 1 win 0
11:16:45.754619 IP (tos 0x0, ttl 123, id 38142, offset 0, flags [none], proto:
TCP (6), length: 40) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2328 >
proxy.local.1723: R, cksum 0xd064 (correct), 2252786351:2252786351(0) win 0
11:16:54.504572 IP (tos 0x0, ttl 123, id 38143, offset 0, flags [DF], proto:
TCP (6), length: 48) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2329 >
proxy.local.1723: S, cksum 0xd434 (correct), 1622151346:1622151346(0) win 65535
<mss 1452,nop,nop,sackOK>
11:16:54.504601 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: TCP
(6), length: 48) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2329: S, cksum 0xeaf6 (correct),
3059227644:3059227644(0) ack 1622151347 win 5840 <mss 1460,nop,nop,sackOK>
11:16:54.863938 IP (tos 0x0, ttl 123, id 38144, offset 0, flags [DF], proto:
TCP (6), length: 196) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2329 >
proxy.local.1723: P 1:157(156) ack 1 win 65535: pptp Length=156 CTRL-MSG
Magic-Cookie=1a2b3c4d CTRL_MSGTYPE=SCCRQ PROTO_VER(1.0) FRAME_CAP(A)
BEARER_CAP(A) MAX_CHAN(0) FIRM_REV(2600) [|pptp]
11:16:54.863964 IP (tos 0x0, ttl 64, id 46829, offset 0, flags [DF], proto:
TCP (6), length: 40) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2329: ., cksum 0x171f (correct),
1:1(0) ack 157 win 5840
11:16:54.865818 IP (tos 0x0, ttl 64, id 46830, offset 0, flags [DF], proto:
TCP (6), length: 196) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2329: P 1:157(156) ack 157 win 5840:
pptp Length=156 CTRL-MSG Magic-Cookie=1a2b3c4d CTRL_MSGTYPE=SCCRP
PROTO_VER(1.0) RESULT_CODE(1:Successful channel establishment) ERR_CODE(0:None)
FRAME_CAP() BEARER_CAP() MAX_CHAN(1) FIRM_REV(1) [|pptp]
11:16:56.232400 IP (tos 0x0, ttl 123, id 38145, offset 0, flags [DF], proto:
TCP (6), length: 208) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2329 >
proxy.local.1723: P 157:325(168) ack 157 win 65379: pptp Length=168 CTRL-MSG
Magic-Cookie=1a2b3c4d CTRL_MSGTYPE=OCRQ CALL_ID(49152) CALL_SER_NUM(58103)
MIN_BPS(300) MAX_BPS(100000000) BEARER_TYPE(Any) FRAME_TYPE(E) RECV_WIN(64)
PROC_DELAY(0) PHONE_NO_LEN(0) [|pptp]
11:16:56.233295 IP (tos 0x0, ttl 64, id 46831, offset 0, flags [DF], proto:
TCP (6), length: 72) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2329: P, cksum 0x2df7 (incorrect (->
0x115b), 157:189(32) ack 325 win 5840: pptp Length=32 CTRL-MSG
Magic-Cookie=1a2b3c4d CTRL_MSGTYPE=OCRP CALL_ID(1408) PEER_CALL_ID(49152)
RESULT_CODE(1:Connected) ERR_CODE(0:None) CAUSE_CODE(0) CONN_SPEED(100000000)
RECV_WIN(64) PROC_DELAY(0) PHY_CHAN_ID(0)
11:16:57.612216 IP (tos 0x0, ttl 123, id 38148, offset 0, flags [DF], proto:
TCP (6), length: 64) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2329 >
proxy.local.1723: P, cksum 0xd273 (correct), 325:349(24) ack 189 win 65347:
pptp Length=24 CTRL-MSG Magic-Cookie=1a2b3c4d CTRL_MSGTYPE=SLI
PEER_CALL_ID(1043) SEND_ACCM(0xffffffff) RECV_ACCM(0xffffffff)
11:16:57.652497 IP (tos 0x0, ttl 64, id 46832, offset 0, flags [DF], proto:
TCP (6), length: 40) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2329: ., cksum 0x15a3 (correct),
189:189(0) ack 349 win 5840
11:17:26.317307 IP (tos 0x0, ttl 64, id 46833, offset 0, flags [DF], proto:
TCP (6), length: 40) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2329: F, cksum 0x15a2 (correct),
189:189(0) ack 349 win 5840
11:17:26.772613 IP (tos 0x0, ttl 123, id 38237, offset 0, flags [DF], proto:
TCP (6), length: 40) 104.subnet125-xxx-xxx.speedy.telkom.net.id.2329 >
proxy.local.1723: F, cksum 0x2d2d (correct), 349:349(0) ack 190 win 65347
11:17:26.772635 IP (tos 0x0, ttl 64, id 46834, offset 0, flags [DF], proto:
TCP (6), length: 40) proxy.local.1723 >
104.subnet125-xxx-xxx.speedy.telkom.net.id.2329: ., cksum 0x15a1 (correct),
190:190(0) ack 350 win 5840
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
kira2 kenapa ya, padahal hasil capture nya udah ada :
(1:Successful channel establishment)
berarti udah sukses kan harus nya, tapi kenapa client nya ga bisa2 connect?
kira2 settingan yang salah nya dimana ya?
isi file /etc/pptpd.conf nya adalah:
speed 115200
option /etc/ppp/pptpd-options
stimeout 10
debug
localip 172.16.1.11
remoteip 172.16.1.200-230
dan isi /etc/ppp/pptpd-options nya adalah:
lock
nopcomp
noauth
debug
defaultroute
name pptpd
proxyarp
asyncmap 0
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe
lcp-echo-failure 30
lcp-echo-interval 5
ipcp-accept-local
ipcp-accept-remote
ms-dns 172.16.1.10
ms-wins 172.16.1.10
proxyarp
debug
dump
kira2 salah settingannya dimana ya sehingga ga bisa connect?
thx
--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis