Specifically, my question is why are certain special characters (notably ampersand) are prohibited from being used in the chap-secrets file for pptpd passwords?
I am assuming that this is probably due to a limitation of the webgui handling, because if I hand edit chap-secrets and then restart pptpd, it works just fine.
Which brings me to my next question...
Is there any way you can think of through postconf scripts, etc to append something to the chap-secrets file every time before pptpd is actually started? Basically, is there any way to make my custom password stick in the file???
I've tried using a .postconf to do it, but it doesn't seem to work -- and I can't easily just reroute the options file to a different chap-secrets because it seems to get overwritten by the webui too.
I can probably get it to work by mangling things totally by hand -- and completely breaking the webui for VPN (which I do use fairly often for OpenVPN nailed routes) or having it break my settings whenever I try to update anything else.
Any suggestions?
Basically, I have quite a few legacy data collection devices out in the field that use an ampersand in the password that there is basically no way to easily change. I all else fails I can just disable PPTP in the router and forward it on to a secondary CentOS box behind the router, but that actually presents a few other headaches (specifically, that would be the ONLY thing said CentOS box would still be doing -- and we were hoping to get rid of it).
And, as a bit of a side note, is there any specific reason that the number of simultaneous pptpd connections is limited to 10 in the webui? Why should it even BE limited in the webui???
I am assuming that this is probably due to a limitation of the webgui handling, because if I hand edit chap-secrets and then restart pptpd, it works just fine.
Which brings me to my next question...
Is there any way you can think of through postconf scripts, etc to append something to the chap-secrets file every time before pptpd is actually started? Basically, is there any way to make my custom password stick in the file???
I've tried using a .postconf to do it, but it doesn't seem to work -- and I can't easily just reroute the options file to a different chap-secrets because it seems to get overwritten by the webui too.
I can probably get it to work by mangling things totally by hand -- and completely breaking the webui for VPN (which I do use fairly often for OpenVPN nailed routes) or having it break my settings whenever I try to update anything else.
Any suggestions?
Basically, I have quite a few legacy data collection devices out in the field that use an ampersand in the password that there is basically no way to easily change. I all else fails I can just disable PPTP in the router and forward it on to a secondary CentOS box behind the router, but that actually presents a few other headaches (specifically, that would be the ONLY thing said CentOS box would still be doing -- and we were hoping to get rid of it).
And, as a bit of a side note, is there any specific reason that the number of simultaneous pptpd connections is limited to 10 in the webui? Why should it even BE limited in the webui???