Poptop-server 1.4.0 - Pptpd stop working as VPN after changes made on version 1.4.0
Aprigio De Faria <[email protected]> Tue, 26 Aug 2014 02:26:42 -0300
| Newsgroups | gmane.network.poptop |
|---|---|
| Message-ID | <[email protected]> |
Hi,
After update from poptop-server 1.3.4 to 1.4.0, my vpn server stop
working.
Looking for changes on new version I found some new forced params in
pptpctl.c file:
- remotenumber
- =A8myIp=A8 (inet_ntoa(inetaddrs[1]))
My log file was showing:
-------------------------
Aug 25 23:22:06 <daemon.warn> home ppp[32977]: Warning: Label remotenumber =
rejected -direct connection: Configuration label not found
Aug 25 23:22:06 <daemon.err> home pptpd[32976]: GRE: read(fd=3D7,buffer=3D8=
04e734,len=3D8196) from PTY failed: status =3D 0 error =3D No error =
Aug 25 23:22:06 <daemon.err> home pptpd[32976]: CTRL: PTY read or GRE write=
failed (pty,gre)=3D(7,6) =
-------------------------
I created this patch (removing new changes of version):
---------------------------- =
--- pptpctrl.c.bak 2014-08-26 00:45:58.000000000 -0300
+++ pptpctrl.c 2014-08-26 00:47:26.000000000 -0300
@@ -802,9 +802,6 @@
}
#endif
- pppd_argv[an++] =3D "remotenumber";
- pppd_argv[an++] =3D inet_ntoa(inetaddrs[1]);
-
/* argv arrays must always be NULL terminated */
pppd_argv[an++] =3D NULL;
/* make sure SIGCHLD is unblocked, pppd does not expect it */
------------------------
After that, my VPN back working very well.
My pptpd.conf:
------------------------
debug
nobsdcomp
stimeout 10
logwtmp
------------------------
My ppp.conf
------------------------
default:
#(empty)
pptp:
set escape 0xff
set device localhost:pptp
set dial
set timeout 0
set log Phase TUN Command Chat Connect IPCP CCP tun command
set ifaddr 192.168.2.1 192.168.2.234-192.168.2.238
255.255.255.255 set dns 192.168.2.1
accept dns
set mppe 128 stateless
enable MPPE
accept MPPE
enable MSCHAPv2
accept MSCHAPv2
enable deflate pred1
accept deflate pred1
------------------------
I=B4m running FreeBSD 10.0 and I notice that change was to Debian.
Do you know if exists some diferent functionalities between them?
Thank you.
---------------------------------------------------------------------------=
---
Slashdot TV. =
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/