{"id":6681,"date":"2026-02-17T14:31:29","date_gmt":"2026-02-17T12:31:29","guid":{"rendered":"https:\/\/skeletor.org.ua\/?p=6681"},"modified":"2026-02-17T14:31:29","modified_gmt":"2026-02-17T12:31:29","slug":"pptp-%d0%b8-%d0%bf%d0%b5%d1%80%d0%b5%d0%b4%d0%b0%d1%87%d0%b0-%d0%bc%d0%b0%d1%80%d1%88%d1%80%d1%83%d1%82%d1%96%d0%b2-windows-%d0%ba%d0%bb%d1%96%d0%b5%d0%bd%d1%82%d1%83","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=6681","title":{"rendered":"PPTP \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0456\u0432 windows \u043a\u043b\u0456\u0435\u043d\u0442\u0443"},"content":{"rendered":"\n<p>\u042f\u043a \u0432\u0456\u0434\u043e\u043c\u043e, <strong>pptp<\/strong> \u043d\u0435 \u0432\u043c\u0456\u0454 \u0431\u0430\u0437\u043e\u0432\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438 \u043f\u0440\u0438 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u0456 \u0434\u043e <strong>VPN<\/strong> \u0441\u0435\u0440\u0432\u0435\u0440\u0443. \u0410\u043b\u0435, \u043c\u043e\u0436\u043d\u0430 \u043f\u0456\u0442\u0438 \u0445\u0438\u0442\u0440\u0456\u0448\u0435 \u0456 \u0441\u043f\u0440\u043e\u0431\u0443\u0432\u0430\u0442\u0438 \u0434\u0435\u044f\u043a\u0456 \u043e\u043f\u0446\u0456\u0457 \u0437 <strong>DHCP<\/strong> \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443, \u0430 \u0441\u0430\u043c\u0435<\/p>\n\n\n\n<p><code>option ms-classless-routes code 249 = array of unsigned integer 8;&nbsp;<br>option rfc3442-classless-routes code 121 = array of unsigned integer 8;&nbsp;<\/code><\/p>\n\n\n\n<p>\u0427\u043e\u043c\u0443 \u0442\u0440\u0435\u0431\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u0438 \u043e\u0431\u0438\u0434\u0432\u0456 \u043e\u043f\u0446\u0456\u0457? \u0411\u043e <strong>microsoft<\/strong> \u0437\u0430\u043c\u0456\u0442\u044c <strong>121<\/strong> (\u044f\u043a\u0430 \u0456 \u0431\u0443\u043b\u0430 \u0434\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u0437\u0440\u043e\u0431\u043b\u0435\u043d\u0430 \u0437\u0433\u0456\u0434\u043d\u043e <strong>RFC<\/strong>) \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u043b\u0430 (\u0434\u043e <strong>Windows XP\/2003<\/strong> \u0432\u043a\u043b\u044e\u0447\u043d\u043e; \u0432\u0441\u0456 \u043d\u043e\u0432\u0456\u0448\u0456 \u0432\u0436\u0435 \u0440\u043e\u0437\u0443\u043c\u0456\u044e\u0442\u044c <strong>121<\/strong>, \u0430\u043b\u0435 \u043f\u0435\u0440\u0435\u0432\u0430\u0433\u0443 \u0432\u0456\u0434\u0434\u0430\u044e\u0442\u044c <strong>249<\/strong>) \u0441\u0432\u043e\u044e, \u0432\u043b\u0430\u0441\u043d\u0443 &#8211; <strong>249<\/strong>.<\/p>\n\n<p><!--more--><\/p>\n\n<p>\u0410 \u0442\u0435\u043f\u0435\u0440, \u0432\u043b\u0430\u0441\u043d\u0435, \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f.<\/p>\n\n\n\n<p><strong><em><mark style=\"background-color:rgba(0, 0, 0, 0);color:#d37f0a\" class=\"has-inline-color\">accel-ppp.conf<\/mark><\/em><\/strong><\/p>\n\n\n<pre>[modules] \nlog_syslog \npptp \nl2tp \nauth_mschap_v2 \nippool \nsigchld \nchap-secrets \nlogwtmp \n\n[core] \nlog-error=\/var\/log\/accel-ppp\/core.log \nthread-count=4 \n\n[ppp] \nverbose=1 \nmin-mtu=1280 \nmtu=1400 \nmru=1400 \ncheck-ip=1 \nsingle-session=replace \nmppe=require \nipv4=require \nipv6=deny \nipv6-intf-id=0:0:0:1 \nipv6-peer-intf-id=0:0:0:2 \nipv6-accept-peer-intf-id=1 \n\n[lcp] \nlcp-echo-interval=30 \nlcp-echo-failure=3 \n\n[auth] \n#any-login=0 \n#noauth=0 \n\n[pptp] \necho-interval=30 \necho-failure=3 \nverbose=1 \n\n[l2tp] \nhost-name=access-vpn \nverbose=1 \n\n[dns] \ndns1=192.168.70.251 \ndns2=192.168.70.252 \n\n[client-ip-range] \ndisable \n\n[ip-pool] \ngw-ip-address=192.168.99.254 \n192.168.99.1-253 \n\n[log] \nlog-file=\/var\/log\/accel-ppp\/accel-ppp.log \nlog-emerg=\/var\/log\/accel-ppp\/emerg.log \nlog-fail-file=\/var\/log\/accel-ppp\/auth-fail.log \nlog-debug=\/var\/log\/accel-ppp\/debug.log \ncopy=1 \nlevel=3 \n\n[chap-secrets] \ngw-ip-address=192.168.99.254 \nchap-secrets=\/etc\/ppp\/chap-secrets \n\n[cli] \ntelnet=127.0.0.1:2000 \ntcp=127.0.0.1:2001 \n<\/pre>\n\n\n<p><strong><em><mark style=\"background-color:rgba(0, 0, 0, 0);color:#d37f0a\" class=\"has-inline-color\">dnsmasq.conf<\/mark><\/em><\/strong><\/p>\n\n\n<pre>\ndhcp-range=192.168.82.254,static \ndhcp-option=option:router \ndhcp-option=121,192.168.70.0\/24,192.168.99.254,192.168.75.0\/24,192.168.99.254,10.0.0.0\/24,192.168.99.254 \ndhcp-option=249,192.168.70.0\/24,192.168.99.254,192.168.75.0\/24,192.168.99.254,10.0.0.0\/24,192.168.99.254 \ndhcp-option=vendor:MSFT,2,1i \n<\/pre>\n\n\n<p>\u0410 \u043e\u0441\u044c \u0442\u0430\u043a \u0432\u0438\u0433\u043b\u044f\u0434\u0430\u0454 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0456\u0432, \u044f\u043a\u0449\u043e \u0434\u0438\u0432\u0438\u0442\u0438\u0441\u044f \u0447\u0435\u0440\u0435\u0437 <strong>tcpdump<\/strong>:<\/p>\n\n\n<pre>\n[root@vpn ~]# tcpdump -nnv -i any port 67 or port 68 \ntcpdump: listening on any, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes \n19:54:46.715522 IP (tos 0x0, ttl 128, id 5523, offset 0, flags [none], proto UDP (17), \nlength 328) \n\u00a0\u00a0 192.168.99.153.68 > 255.255.255.255.67: BOOTP\/DHCP, Request, length 300, htype 8, \nhlen 6, xid 0xa27cfc5f, secs 1536, Flags [none] \n\u00a0\u00a0\u00a0\u00a0\u00a0 Client-IP 192.168.99.153 \n\u00a0\u00a0\u00a0\u00a0\u00a0 Vendor-rfc1048 Extensions \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Magic Cookie 0x63825363 \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 DHCP-Message Option 53, length 1: Inform \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Client-ID Option 61, length 7: hardware-type 8, 00:53:45:00:00:00 \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Hostname Option 12, length 8: \"intruder\" \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Vendor-Class Option 60, length 8: \"MSFT 5.0\" \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Parameter-Request Option 55, length 6: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Domain-Name-Server, Netbios-Name-Server, Vendor-Option, Subnet-Mask \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Classless-Static-Route-Microsoft, Domain-Name \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Vendor-Option Option 43, length 3: 220.1.0 \n19:54:46.716113 IP (tos 0x0, ttl 64, id 10142, offset 0, flags [none], proto UDP (17), \nlength 333) \n\u00a0\u00a0 192.168.99.254.67 > 192.168.99.153.68: BOOTP\/DHCP, Reply, length 305, htype 8, hlen \n6, xid 0xa27cfc5f, secs 1536, Flags [none] \n\u00a0\u00a0\u00a0\u00a0\u00a0 Client-IP 192.168.99.153 \n\u00a0\u00a0\u00a0\u00a0\u00a0 Vendor-rfc1048 Extensions \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Magic Cookie 0x63825363 \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 DHCP-Message Option 53, length 1: ACK \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Server-ID Option 54, length 4: 192.168.99.254 \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Domain-Name Option 15, length 18: \"vpn.server.tld\" \n\u00a0\u00a0\u00a0 Classless-Static-Route-Microsoft Option 249, length 24: (192.168.70.0\/24:192.168.99.254),(192.168.75.0\/24:192.168.99.254),(10.0.0.0\/24:192.168.99.254) \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Vendor-Option Option 43, length 7: 2.4.0.0.0.1.255 \n19:54:47.325798 IP (tos 0x0, ttl 128, id 50260, offset 0, flags [DF], proto UDP (17), \nlength 306) \n\u00a0\u00a0 0.0.0.0.68 > 255.255.255.255.67: BOOTP\/DHCP, Request from 00:1a:64:20:3a:c1, length \n278, xid 0x64203adb, Flags [Broadcast] \n\u00a0\u00a0\u00a0\u00a0\u00a0 Client-Ethernet-Address 00:1a:64:20:3a:c1 \n\u00a0\u00a0\u00a0\u00a0\u00a0 Vendor-rfc1048 Extensions \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Magic Cookie 0x63825363 \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 DHCP-Message Option 53, length 1: Discover \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Lease-Time Option 51, length 4: 4294967295 \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Hostname Option 12, length 8: \"64203AC1\" \n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Parameter-Request Option 55, length 3: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Subnet-Mask, Default-Gateway, Domain-Name-Server \n^C \n3 packets captured \n3 packets received by filter \n0 packets dropped by kernel \n<\/pre>\n\n\n<p>PS. \u0421\u0442\u0430\u0442\u0442\u044f \u043d\u0435 \u043c\u043e\u044f, \u0437\u043d\u0430\u0439\u0448\u043e\u0432 \u0443 \u043c\u0435\u0440\u0435\u0436\u0456 \u0456\u043d\u0442\u0435\u0440\u043d\u0435\u0442.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u042f\u043a \u0432\u0456\u0434\u043e\u043c\u043e, pptp \u043d\u0435 \u0432\u043c\u0456\u0454 \u0431\u0430\u0437\u043e\u0432\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438 \u043f\u0440\u0438 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u0456 \u0434\u043e VPN \u0441\u0435\u0440\u0432\u0435\u0440\u0443. \u0410\u043b\u0435, \u043c\u043e\u0436\u043d\u0430 \u043f\u0456\u0442\u0438 \u0445\u0438\u0442\u0440\u0456\u0448\u0435 \u0456 \u0441\u043f\u0440\u043e\u0431\u0443\u0432\u0430\u0442\u0438 \u0434\u0435\u044f\u043a\u0456 \u043e\u043f\u0446\u0456\u0457 \u0437 DHCP \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443, \u0430 \u0441\u0430\u043c\u0435 option ms-classless-routes code 249 = array of unsigned integer 8;&nbsp;option rfc3442-classless-routes code 121 = array of unsigned integer 8;&nbsp; \u0427\u043e\u043c\u0443 \u0442\u0440\u0435\u0431\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u0438 \u043e\u0431\u0438\u0434\u0432\u0456 \u043e\u043f\u0446\u0456\u0457? \u0411\u043e microsoft \u0437\u0430\u043c\u0456\u0442\u044c 121 (\u044f\u043a\u0430 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,12],"tags":[],"class_list":["post-6681","post","type-post","status-publish","format-standard","hentry","category-linux","category-routers"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6681"}],"version-history":[{"count":1,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6681\/revisions"}],"predecessor-version":[{"id":6682,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6681\/revisions\/6682"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}