в логах вот что вижу:
Спойлер
[2020-10-07 15:53:41]: debug: ppp64: send [PPTP Echo-Reply <Identifier 1bb>]
[2020-10-07 15:53:45]: debug: ppp64: send [LCP EchoReq id=88 <magic 703968c4>]
[2020-10-07 15:53:45]: debug: ppp64: recv [LCP EchoRep id=88 <magic 68df796f>]
[2020-10-07 15:54:15]: debug: ppp64: send [LCP EchoReq id=89 <magic 703968c4>]
[2020-10-07 15:54:45]: debug: ppp64: send [LCP EchoReq id=8a <magic 703968c4>]
[2020-10-07 15:55:15]: debug: ppp64: send [LCP EchoReq id=8b <magic 703968c4>]
[2020-10-07 15:55:45]: debug: ppp64: send [LCP EchoReq id=8c <magic 703968c4>]
[2020-10-07 15:55:45]: debug: ppp64: radius(1): req_enter 1
[2020-10-07 15:55:45]: debug: ppp64: radius(1): req_exit 0
[2020-10-07 15:56:15]: warn: ppp64: lcp: no echo reply
[2020-10-07 15:56:15]: debug: ppp64: terminate
[2020-10-07 15:56:15]: warn: ppp64: failed to get interface statistics
[2020-10-07 15:56:15]: warn: ppp64: failed to get interface statistics
[2020-10-07 15:56:15]: debug: ppp64: radius(1): req_enter 1
[2020-10-07 15:56:15]: info: ppp64: send [RADIUS(1) Accounting-Request id=5b <User-Name "user"> <NAS-IP-Address 127.0.0.1> <NAS-Port 64> <NAS-Port-Id "ppp64"> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "192.168.10.29"> <Called-Station-Id "192.168.0.16"> <NAS-Identifier "pptp"> <Acct-Status-Type Stop> <Acct-Authentic RADIUS> <Acct-Session-Id "cbd7fd7086356a71"> <Acct-Session-Time 26733> <Acct-Input-Octets 117474979> <Acct-Output-Octets 1769174237> <Acct-Input-Packets 902637> <Acct-Output-Packets 1468451> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address 192.168.2.205> <Acct-Terminate-Cause Lost-Carrier>]
[2020-10-07 15:56:15]: debug: ppp64: radius(1): req_exit 0
[2020-10-07 15:56:15]: debug: ppp64: pptp: ppp finished
[2020-10-07 15:56:15]: info: ppp64: send [PPTP Call-Disconnect-Notify <Call-ID 90ff> <Result 3> <Error 0> <Cause 0>]
[2020-10-07 15:56:15]: info: ppp64: send [PPTP Stop-Ctrl-Conn-Request <Reason 0>]
[2020-10-07 15:56:15]: debug: ppp64: lcp_layer_free
[2020-10-07 15:56:15]: debug: ppp64: auth_layer_free
[2020-10-07 15:56:15]: debug: ppp64: ccp_layer_free
[2020-10-07 15:56:15]: debug: ppp64: ipcp_layer_free
[2020-10-07 15:56:15]: debug: ppp64: ipv6cp_layer_free
[2020-10-07 15:56:15]: debug: ppp64: ppp destablished
[2020-10-07 15:56:15]: error: ppp64: pptp: read: Connection reset by peer
[2020-10-07 15:56:15]: debug: ppp64: pptp: disconnect
[2020-10-07 15:56:15]: info: ppp64: disconnected
[2020-10-07 15:53:45]: debug: ppp64: send [LCP EchoReq id=88 <magic 703968c4>]
[2020-10-07 15:53:45]: debug: ppp64: recv [LCP EchoRep id=88 <magic 68df796f>]
[2020-10-07 15:54:15]: debug: ppp64: send [LCP EchoReq id=89 <magic 703968c4>]
[2020-10-07 15:54:45]: debug: ppp64: send [LCP EchoReq id=8a <magic 703968c4>]
[2020-10-07 15:55:15]: debug: ppp64: send [LCP EchoReq id=8b <magic 703968c4>]
[2020-10-07 15:55:45]: debug: ppp64: send [LCP EchoReq id=8c <magic 703968c4>]
[2020-10-07 15:55:45]: debug: ppp64: radius(1): req_enter 1
[2020-10-07 15:55:45]: debug: ppp64: radius(1): req_exit 0
[2020-10-07 15:56:15]: warn: ppp64: lcp: no echo reply
[2020-10-07 15:56:15]: debug: ppp64: terminate
[2020-10-07 15:56:15]: warn: ppp64: failed to get interface statistics
[2020-10-07 15:56:15]: warn: ppp64: failed to get interface statistics
[2020-10-07 15:56:15]: debug: ppp64: radius(1): req_enter 1
[2020-10-07 15:56:15]: info: ppp64: send [RADIUS(1) Accounting-Request id=5b <User-Name "user"> <NAS-IP-Address 127.0.0.1> <NAS-Port 64> <NAS-Port-Id "ppp64"> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "192.168.10.29"> <Called-Station-Id "192.168.0.16"> <NAS-Identifier "pptp"> <Acct-Status-Type Stop> <Acct-Authentic RADIUS> <Acct-Session-Id "cbd7fd7086356a71"> <Acct-Session-Time 26733> <Acct-Input-Octets 117474979> <Acct-Output-Octets 1769174237> <Acct-Input-Packets 902637> <Acct-Output-Packets 1468451> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address 192.168.2.205> <Acct-Terminate-Cause Lost-Carrier>]
[2020-10-07 15:56:15]: debug: ppp64: radius(1): req_exit 0
[2020-10-07 15:56:15]: debug: ppp64: pptp: ppp finished
[2020-10-07 15:56:15]: info: ppp64: send [PPTP Call-Disconnect-Notify <Call-ID 90ff> <Result 3> <Error 0> <Cause 0>]
[2020-10-07 15:56:15]: info: ppp64: send [PPTP Stop-Ctrl-Conn-Request <Reason 0>]
[2020-10-07 15:56:15]: debug: ppp64: lcp_layer_free
[2020-10-07 15:56:15]: debug: ppp64: auth_layer_free
[2020-10-07 15:56:15]: debug: ppp64: ccp_layer_free
[2020-10-07 15:56:15]: debug: ppp64: ipcp_layer_free
[2020-10-07 15:56:15]: debug: ppp64: ipv6cp_layer_free
[2020-10-07 15:56:15]: debug: ppp64: ppp destablished
[2020-10-07 15:56:15]: error: ppp64: pptp: read: Connection reset by peer
[2020-10-07 15:56:15]: debug: ppp64: pptp: disconnect
[2020-10-07 15:56:15]: info: ppp64: disconnected
Спойлер
[modules]
log_file
radius
#ipoe
ippool
shaper
pptp
pppoe
auth_mschap_v2
auth_pap
auth_chap_md5
auth_mschap_v1
chap-secrets
sigchld
pppd_compat
[core]
log-error=/var/log/accel-ppp/core.log
thread-count=2
#[common]
#single-session=replace
#sid-case=upper
#sid-source=seq
[radius]
dictionary=/usr/local/share/accel-ppp/radius/dictionary
#nas-identifier=accel-ipoe
nas-ip-address=127.0.0.1
server=127.0.0.1,secret,auth-port=1812,acct-port=1813,req-limit=50,fail-timeout=0,max-fail=10,weight=1
dae-server=127.0.0.1:3799,secret
verbose=100
attr-tunnel-type=NAS-Identifier
gw-ip-address=192.168.0.16
#acct-timeout=0
sid-in-auth=1
#[ipoe]
#verbose=100
#interface=eth2,mode=L2,start=dhcpv4,shared=1,ifcfg=1
#gw-ip-address=10.0.0.1/24
# attr-dhcp-client-ip
#attr-dhcp-lease-time=Acct-Interim-Interval
#attr-dhcp-router-ip=DHCP-Router-IP-Address
#attr-dhcp-mask=DHCP-Mask
#renew-ti300
#lease-time=600
#max-lease-time=1200
#proxy-arp=1
#username=lua:username
#lua-file=/etc/accel-ppp.lua
#nas-identifier=accel-ipoe
#l4-redirect-on-reject=600
#l4-redirect-ip-pool=pool1
#l4-redirect-ipset=l4-redirect
#attr-dhcp-opt82=DHCP-Option82
#attr-dhcp-opt82-remote-id=Accel-Agent-Remote-Id
#attr-dhcp-opt82-circuit-id=Accel-Agent-Circuit-Id
#[ip-pool]
#gw-ip-address=192.168.0.1/24
#attr=Framed-Pool
#192.168.0.2-254,name=pool1
#[lcp]
#echo-interval=30
#echo-failure=3
[pptp]
#bind=192.168.0.91
verbose=1
mppe=prefer
#echo-interval=30
[ppp]
verbose=1
min-mtu=1400
mtu=1492
mru=1492
#ccp=0
#sid-case=lower
mppe=prefer
#ipv4=require
lcp-echo-interval=30
lcp-echo-failure=3
lcp-echo-timeout=0
[pppoe]
interface=ens18
nas-identifier=accel-pppoe
#ac-name=xxx
#service-name=yyy
#pado-delay=0
#pado-delay=0,100:100,200:200,-1:500
#ifname-in-sid=called-sid
#tr101=1
verbose=1
[client-ip-range]
#10.0.0.0/8
disable
[dns]
dns1=192.168.10.14
dns2=192.168.0.15
[log]
log-file=/var/log/accel-ppp/accel-ppp.log
log-emerg=/var/log/accel-ppp/emerg.log
log-fail-file=/var/log/accel-ppp/auth-fail.log
copy=1
color=1
#per-user-dir=per_user
#per-session-dir=per_session
#per-session=1
level=5
[shaper]
attr=Filter-Id
rate-limit=8192/8192
#down-burst-factor=0.1
#up-burst-factor=1.0
#latency=50
#mpu=0
#mtu=0
#r2q=10
quantum=1500
#moderate-quantum=1
#hightspeed shaper
ifb=ifb0
cburst=1534
#up-limiter=htb
#down-limiter=htb
#low speed shaper
up-limiter=police
down-limiter=tbf
#leaf-qdisc=sfq perturb 10
#leaf-qdisc=fq_codel [limit PACKETS] [flows NUMBER] [target TIME] [interval TIME] [quantum BYTES] [[no]ecn]
#rate-multiplier=1
#fwmark=1
attr-down=PPPD-Downstream-Speed-Limit
attr-up=PPPD-Upstream-Speed-Limit
verbose=10
[pppd-compat]
#ip-up=/etc/ppp/ip-up
#ip-down=/etc/ppp/ip-down
#radattr-prefix=/var/run/radattr
verbose=1
[cli]
verbose=100
telnet=127.0.0.1:2000
tcp=127.0.0.1:2001
password=secret
[snmp]
master=0
agent-name=accel-ppp
[connlimit]
limit=10/min
burst=3
timeout=60
log_file
radius
#ipoe
ippool
shaper
pptp
pppoe
auth_mschap_v2
auth_pap
auth_chap_md5
auth_mschap_v1
chap-secrets
sigchld
pppd_compat
[core]
log-error=/var/log/accel-ppp/core.log
thread-count=2
#[common]
#single-session=replace
#sid-case=upper
#sid-source=seq
[radius]
dictionary=/usr/local/share/accel-ppp/radius/dictionary
#nas-identifier=accel-ipoe
nas-ip-address=127.0.0.1
server=127.0.0.1,secret,auth-port=1812,acct-port=1813,req-limit=50,fail-timeout=0,max-fail=10,weight=1
dae-server=127.0.0.1:3799,secret
verbose=100
attr-tunnel-type=NAS-Identifier
gw-ip-address=192.168.0.16
#acct-timeout=0
sid-in-auth=1
#[ipoe]
#verbose=100
#interface=eth2,mode=L2,start=dhcpv4,shared=1,ifcfg=1
#gw-ip-address=10.0.0.1/24
# attr-dhcp-client-ip
#attr-dhcp-lease-time=Acct-Interim-Interval
#attr-dhcp-router-ip=DHCP-Router-IP-Address
#attr-dhcp-mask=DHCP-Mask
#renew-ti300
#lease-time=600
#max-lease-time=1200
#proxy-arp=1
#username=lua:username
#lua-file=/etc/accel-ppp.lua
#nas-identifier=accel-ipoe
#l4-redirect-on-reject=600
#l4-redirect-ip-pool=pool1
#l4-redirect-ipset=l4-redirect
#attr-dhcp-opt82=DHCP-Option82
#attr-dhcp-opt82-remote-id=Accel-Agent-Remote-Id
#attr-dhcp-opt82-circuit-id=Accel-Agent-Circuit-Id
#[ip-pool]
#gw-ip-address=192.168.0.1/24
#attr=Framed-Pool
#192.168.0.2-254,name=pool1
#[lcp]
#echo-interval=30
#echo-failure=3
[pptp]
#bind=192.168.0.91
verbose=1
mppe=prefer
#echo-interval=30
[ppp]
verbose=1
min-mtu=1400
mtu=1492
mru=1492
#ccp=0
#sid-case=lower
mppe=prefer
#ipv4=require
lcp-echo-interval=30
lcp-echo-failure=3
lcp-echo-timeout=0
[pppoe]
interface=ens18
nas-identifier=accel-pppoe
#ac-name=xxx
#service-name=yyy
#pado-delay=0
#pado-delay=0,100:100,200:200,-1:500
#ifname-in-sid=called-sid
#tr101=1
verbose=1
[client-ip-range]
#10.0.0.0/8
disable
[dns]
dns1=192.168.10.14
dns2=192.168.0.15
[log]
log-file=/var/log/accel-ppp/accel-ppp.log
log-emerg=/var/log/accel-ppp/emerg.log
log-fail-file=/var/log/accel-ppp/auth-fail.log
copy=1
color=1
#per-user-dir=per_user
#per-session-dir=per_session
#per-session=1
level=5
[shaper]
attr=Filter-Id
rate-limit=8192/8192
#down-burst-factor=0.1
#up-burst-factor=1.0
#latency=50
#mpu=0
#mtu=0
#r2q=10
quantum=1500
#moderate-quantum=1
#hightspeed shaper
ifb=ifb0
cburst=1534
#up-limiter=htb
#down-limiter=htb
#low speed shaper
up-limiter=police
down-limiter=tbf
#leaf-qdisc=sfq perturb 10
#leaf-qdisc=fq_codel [limit PACKETS] [flows NUMBER] [target TIME] [interval TIME] [quantum BYTES] [[no]ecn]
#rate-multiplier=1
#fwmark=1
attr-down=PPPD-Downstream-Speed-Limit
attr-up=PPPD-Upstream-Speed-Limit
verbose=10
[pppd-compat]
#ip-up=/etc/ppp/ip-up
#ip-down=/etc/ppp/ip-down
#radattr-prefix=/var/run/radattr
verbose=1
[cli]
verbose=100
telnet=127.0.0.1:2000
tcp=127.0.0.1:2001
password=secret
[snmp]
master=0
agent-name=accel-ppp
[connlimit]
limit=10/min
burst=3
timeout=60
версия accel-ppp version 1.12.0-72-ged7b287
соединение рвется стабильно раз-два в сутки.
оптимизации из мануала делал, не помогло, причем когда пользователь был 1 соединение держалось больше недели...
ЧЯДНТ?