Bug #1292
closed
PPTP server with Radius breaks on upgrade from 1.2.3 to 2.0
Added by Roy Walker almost 14 years ago.
Updated over 13 years ago.
Affected Architecture:
i386
Description
If upgrading from 1.2.3 to 2.0 (BETA5-02182011) and you have a PPTP server with Radius configured. It breaks the PPTP config. Until you clear the configuration it will not let you correct it or use the PPTP server.
Get the following error in the browser if you try to turn the PPTP server "off":
Fatal error: Cannot unset string offsets in /usr/local/www/vpn_pptp.php on line 166
This page seems like it needs a far amount of work.
Files
After clearing the PPTP configuration from config.xml I was able to setup the PPTP server (so the page does work). However the PPTP firewall rule had to be deleted and re-created.
Can you post your pptp section from the 1.2.3 config?
here's a pretty stock config that exhibits problems
I have the same problem. I migrated from 1.2.3.
<pptpd>
<redir/>
<localip>172.16.99.1</localip>
<remoteip>172.16.99.96</remoteip>
<radius>
<server>172.18.1.2</server>
<secret>commented</secret>
<enable/>
<server2>
<ip/>
<port/>
<acctport/>
<secret2/>
</server2>
<nasip/>
<acct_update/>
</radius>
<wins>172.18.1.2</wins>
<req128/>
<n_pptp_units>16</n_pptp_units>
<dns1>172.18.1.11</dns1>
<dns2>172.18.1.3</dns2>
<mode>server</mode>
</pptpd>
- Status changed from New to Feedback
- % Done changed from 0 to 100
- Status changed from Feedback to Resolved
Also available in: Atom
PDF