Суть такова пользуюсь forticlientsslvpn и только 1 из 10-20 попыток соединения удается. по логам понял что проблема в pppd. но что конкретно происходит понять так и не смог.
Ниже привожу пример удачной попытки и неудачной.
Modem hangup
using channel 14
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
sent [LCP ConfReq id=0x1 <mru 1354> <magic 0xb5eb34a4>]
rcvd [LCP ConfReq id=0x1 <magic 0x89afe274>]
sent [LCP ConfAck id=0x1 <magic 0x89afe274>]
rcvd [LCP ConfAck id=0x1 <mru 1354> <magic 0xb5eb34a4>]
sent [LCP EchoReq id=0x0 magic=0xb5eb34a4]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 64.14.35.6>]
sent [IPCP ConfNak id=0x1 <addr 1.1.1.1>]
rcvd [LCP EchoRep id=0x0 magic=0x89afe274]
rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f 00 00]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfReq id=0x2 <addr 64.14.35.6>]
sent [IPCP ConfNak id=0x2 <addr 1.1.1.1>]
rcvd [IPCP ConfNak id=0x2 <addr 10.12.129.47> <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
sent [IPCP ConfReq id=0x3 <addr 10.12.129.47> <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
rcvd [IPCP ConfReq id=0x3 <addr 64.14.35.6>]
sent [IPCP ConfNak id=0x3 <addr 1.1.1.1>]
rcvd [IPCP ConfAck id=0x3 <addr 10.12.129.47> <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
rcvd [IPCP ConfReq id=0x4 <addr 64.14.35.6>]
sent [IPCP ConfNak id=0x64 <addr 1.1.1.1>]
rcvd [IPCP ConfReq id=0x65 <addr 64.14.35.6>]
sent [IPCP ConfRej id=0x65 <addr 64.14.35.6>]
sent [IPCP ConfReq id=0x3 <addr 10.12.129.47> <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
rcvd [IPCP ConfReq id=0x66 <addrs 64.14.35.6 10.12.129.47>]
sent [IPCP ConfRej id=0x66 <addrs 64.14.35.6 10.12.129.47>]
rcvd [IPCP ConfAck id=0x3 <addr 10.12.129.47> <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
rcvd [IPCP ConfReq id=0x67]
sent [IPCP ConfAck id=0x67]
local IP address 10.12.129.47
remote IP address 1.1.1.1
primary DNS address 10.33.11.249
secondary DNS address 10.33.11.210
Script /etc/ppp/ip-up started (pid 27067)
Script /etc/ppp/ip-up finished (pid 27067), status = 0x0
Modem hangup
using channel 10
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
sent [LCP ConfReq id=0x1 <mru 1354> <magic 0xc418495>]
rcvd [LCP ConfReq id=0x1 <magic 0xe3dde0e8>]
sent [LCP ConfAck id=0x1 <magic 0xe3dde0e8>]
rcvd [LCP ConfAck id=0x1 <mru 1354> <magic 0xc418495>]
sent [LCP EchoReq id=0x0 magic=0xc418495]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 64.14.35.6>]
sent [IPCP ConfNak id=0x1 <addr 1.1.1.1>]
rcvd [LCP EchoRep id=0x0 magic=0xe3dde0e8]
rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f 00 00]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfReq id=0x2 <addr 64.14.35.6>]
sent [IPCP ConfNak id=0x2 <addr 1.1.1.1>]
rcvd [IPCP ConfNak id=0x2 <addr 10.12.129.69> <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
sent [IPCP ConfReq id=0x3 <addr 10.12.129.69> <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
rcvd [IPCP ConfReq id=0x3 <addr 64.14.35.6>]
sent [IPCP ConfNak id=0x3 <addr 1.1.1.1>]
rcvd [IPCP ConfAck id=0x3 <addr 10.12.129.69> <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
rcvd [IPCP ConfReq id=0x4 <addr 64.14.35.6>]
sent [IPCP ConfNak id=0x4 <addr 1.1.1.1>]
rcvd [IPCP ConfReq id=0x65 <addr 64.14.35.6>]
sent [IPCP ConfRej id=0x65 <addr 64.14.35.6>]
rcvd [IPCP ConfReq id=0x66 <addrs 64.14.35.6 10.12.129.69>]
sent [IPCP ConfRej id=0x66 <addrs 64.14.35.6 10.12.129.69>]
sent [IPCP ConfReq id=0x3 <addrs 10.12.129.69 1.1.1.1> <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
rcvd [IPCP ConfReq id=0x67]
sent [IPCP ConfAck id=0x67]
rcvd [IPCP ConfNak id=0x3 <addrs 10.12.129.69 64.14.35.6>]
sent [IPCP ConfReq id=0x4 <addrs 10.12.129.69 1.1.1.1> <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
rcvd [IPCP ConfNak id=0x4 <addrs 10.12.129.69 64.14.35.6>]
sent [IPCP ConfReq id=0x5 <addrs 10.12.129.69 1.1.1.1> <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
rcvd [IPCP ConfNak id=0x5 <addrs 10.12.129.69 64.14.35.6>]
sent [IPCP ConfReq id=0x6 <addrs 10.12.129.69 1.1.1.1> <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
rcvd [IPCP ConfNak id=0x6 <addrs 10.12.129.69 64.14.35.6>]
sent [IPCP ConfReq id=0x7 <addrs 10.12.129.69 1.1.1.1> <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
rcvd [IPCP ConfNak id=0x7 <addrs 10.12.129.69 64.14.35.6>]
sent [IPCP ConfReq id=0x8 <addrs 10.12.129.69 1.1.1.1> <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
rcvd [IPCP ConfRej id=0x8 <addrs 10.12.129.69 1.1.1.1>]
sent [IPCP ConfReq id=0x9 <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
rcvd [IPCP ConfAck id=0x9 <ms-dns1 10.33.11.249> <ms-dns2 10.33.11.210>]
Peer refused to agree to our IP address
Connect time 0.3 minutes.
Sent 1353 bytes, received 1248 bytes.
sent [IPCP TermReq id=0xa "Refused our IP address"]
rcvd [IPCP TermAck id=0xa]
sent [LCP TermReq id=0x2 "No network protocols running"]
sent [LCP TermReq id=0x3 "No network protocols running"]
Connection terminated.
ioctl(TIOCSETD, N_TTY): Device or resource busy (line 577)
Modem hangup
Из того что я заметил это то что при неудачной попытке pppd добавляет 1.1.1.1 к предлагаемому адресу. может кто-нибудь знает почему или зачем он так делает?