First we update opkg packages: root@OpenWrt:/etc/ppp# opkg update Downloading http://downloads.openwrt.org/backfire/10.03/brcm-2.4/packages/Packages.gz. Inflating http://downloads.openwrt.org/backfire/10.03/brcm-2.4/packages/Packages.gz. Updated list of available packages in /var/opkg-lists/packages. Next, we install pptp: root@OpenWrt:/etc/ppp# opkg install pptpd Installing pptpd (1.3.4-1) to root... Downloading http://downloads.openwrt.org/backfire/10.03/brcm-2.4/packages/pptpd_1.3.4-1_brcm-2.4.ipk. Installing kmod-gre (2.4.37.9-1) to root... Downloading http://downloads.openwrt.org/backfire/10.03/brcm-2.4/packages/kmod-gre_2.4.37.9-1_brcm-2.4.ipk. Configuring kmod-gre. Configuring pptpd. Next, we install some missing kernel modules: root@OpenWrt:/etc/ppp# opkg install kmod-mppe Installing kmod-mppe (2.4.37.9-1) to root... Downloading http://downloads.openwrt.org/backfire/10.03/brcm-2.4/packages/kmod-mppe_2.4.37.9-1_brcm-2.4.ipk. Installing kmod-crypto-core (2.4.37.9-1) to root... Downloading http://downloads.openwrt.org/backfire/10.03/brcm-2.4/packages/kmod-crypto-core_2.4.37.9-1_brcm-2.4.ipk. Installing kmod-crypto-arc4 (2.4.37.9-1) to root... Downloading http://downloads.openwrt.org/backfire/10.03/brcm-2.4/packages/kmod-crypto-arc4_2.4.37.9-1_brcm-2.4.ipk. Installing kmod-crypto-sha1 (2.4.37.9-1) to root... Downloading http://downloads.openwrt.org/backfire/10.03/brcm-2.4/packages/kmod-crypto-sha1_2.4.37.9-1_brcm-2.4.ipk. Configuring kmod-crypto-core. Configuring kmod-crypto-arc4. Configuring kmod-crypto-sha1. Configuring kmod-mppe. Next, enable ppdpd at OpenWRT startup: root@OpenWrt:/etc/init.d# ./pptpd enable Now, it is time to edit pptpd.conf file: root@OpenWrt:/etc/init.d# vi /etc/pptpd.conf option /etc/ppp/options.pptpd speed 115200 stimeout 10 localip 192.168.146.2 remoteip 192.168.146.24-31 We also have to edit /etc/ppp/options.pptpd file root@OpenWrt:/etc/init.d# vi /etc/ppp/options.pptpd auth name "pptp-server" lcp-echo-failure 3 lcp-echo-interval 60 default-asyncmap mtu 1482 mru 1482 nobsdcomp nodeflate proxyarp mppe required,no40,no56,stateless require-mschap-v2 refuse-chap refuse-mschap refuse-eap refuse-pap ms-dns 192.168.146.1 The final step is to fill chap-secrets file with desired username / password combinations. |