Temat: server pptp przestal dzialac
Hej
Zalezalo mi na najprostszym rozwiazaniu, wiec postawilem server pptpd
Robilem wszystko wg instrukcji na eko.one.pl + dodalem
iptables -A input_rule -i ppp+ -j ACCEPT
iptables -A output_rule -o ppp+ -j ACCEPT
iptables -A forwarding_rule -i ppp+ -j ACCEPT
iptables -A forwarding_rule -o ppp+ -j ACCEPT
Wszystko dzialalo tydzien i bez wiadomej przyczyny przestalo...
logi pokazuja zwykly timeout :
Tue Aug 22 09:49:27 2017 daemon.info pptpd[10717]: CTRL: Client 83.238.2.2 control connection started
Tue Aug 22 09:49:28 2017 daemon.info pptpd[10717]: CTRL: Starting call (launching pppd, opening GRE)
Tue Aug 22 09:49:28 2017 daemon.notice pppd[10722]: pppd 2.4.7 started by root, uid 0
Tue Aug 22 09:49:28 2017 daemon.info pppd[10722]: Using interface ppp0
Tue Aug 22 09:49:28 2017 daemon.notice pppd[10722]: Connect: ppp0 <--> /dev/pts/1
Tue Aug 22 09:49:58 2017 daemon.warn pppd[10722]: LCP: timeout sending Config-Requests
Tue Aug 22 09:49:58 2017 daemon.notice pppd[10722]: Connection terminated.
Tue Aug 22 09:49:58 2017 daemon.notice pppd[10722]: Modem hangup
Tue Aug 22 09:49:58 2017 daemon.info pppd[10722]: Exit.
Tue Aug 22 09:49:58 2017 daemon.err pptpd[10717]: GRE: read(fd=6,buffer=41f48c,len=8196) from PTY failed: status = -1 error = I/O error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Tue Aug 22 09:49:58 2017 daemon.err pptpd[10717]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Tue Aug 22 09:49:58 2017 daemon.debug pptpd[10717]: CTRL: Reaping child PPP[10722]
Tue Aug 22 09:49:58 2017 daemon.info pptpd[10717]: CTRL: Client 83.238.2.2 control connection finishedprobowalem juz wszelkich restartow jak i laczyc sie od roznych operatorow ISP