#!/bin/bash #MPPE encryption requires that only MSCHAP-v2 authentication is used. So we need to disable all other authentications.. # #Disable EAP authentication. if ! (( `grep "refuse-eap" /home/system/pptpd/options.pptpd | wc -l` > 0 )); then sed -i /home/system/pptpd/options.pptpd \ -e 's/refuse-pap/refuse-eap\nrefuse-pap/' fi