source: npl/internetserver/pptp/post.pptp @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 342 bytes
RevLine 
[c5c522c]1#!/bin/bash
2
3#MPPE encryption requires that only MSCHAP-v2 authentication is used. So we need to disable all other authentications..
4#
5#Disable EAP authentication.
6if ! (( `grep "refuse-eap" /home/system/pptpd/options.pptpd | wc -l` > 0 )); then
7        sed -i /home/system/pptpd/options.pptpd \
8        -e 's/refuse-pap/refuse-eap\nrefuse-pap/'
9fi
Note: See TracBrowser for help on using the repository browser.