Having an issue getting the built-in PPTP client working on your DD-WRT router? It is because the build script generates a syntax error in the config. Put the following code in your Startup script under Commands:
fork_pptp_change() { #wait until pptp client is initiated pptpfile=/tmp/pptpd_client/options.vpn while [[ ! -f $pptpfile ]] do sleep 2 done sleep 10 #fix options vpn file sed -i '/logfd2/d' /tmp/pptpd_client/options.vpn sed -i '/debug/d' /tmp/pptpd_client/options.vpn sed -i '/dump/d' /tmp/pptpd_client/options.vpn #stop the client /tmp/pptpd_client/vpn stop sleep 5 #restart it /tmp/pptpd_client/vpn start & } #this needs to be forked or we would never have the pptp client initiated fork_pptp_change &
Save Startup and then reboot your router. VPN should be working.
If you wish to add a route to your Windows comp for the VPN, then run the following from an admin console:
route -p add (network) MASK (subnetMask) (routerIP)
Now you’re all set!
Still having issues? Try setting your encryption options to: “mppe required,stateless,no40,no56” and possibly setting your hostname to the IP address not a host.