diff options
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root')
3 files changed, 50 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/init.d/pptp-server b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/init.d/pptp-server new file mode 100644 index 000000000..3015c66ae --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/init.d/pptp-server @@ -0,0 +1,18 @@ +#!/bin/sh + +case $1 in + start) + insmod ppp_async >/dev/null 2>&1 + insmod ppp_mppe_mppc >/dev/null 2>&1 + [ -d /var/run ] || mkdir -p /var/run + /usr/sbin/pptpd + ;; + stop) + [ -f /var/run/pptpd.pid ] && kill $(cat /var/run/pptpd.pid) >/dev/null 2>&1 + ;; + *) + echo "usage: $0 (start|stop)" + exit 1 +esac + +exit $? diff --git a/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/ppp/pptp-server-options b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/ppp/pptp-server-options new file mode 100644 index 000000000..cca8027db --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/ppp/pptp-server-options @@ -0,0 +1,27 @@ +#debug +#logfile /tmp/pptp-server.log +172.16.1.1: +auth +name "pptp-server" +lcp-echo-failure 3 +lcp-echo-interval 60 +default-asyncmap +mtu 1482 +mru 1482 +nobsdcomp +nodeflate +#noproxyarp +#nomppc +nomppe-40 +nomppe-56 +nomppe-stateful +require-mppe +require-mppe-128 +require-mschap-v2 +refuse-chap +refuse-mschap +refuse-eap +refuse-pap +#ms-dns 172.16.1.1 +#plugin radius.so +#radius-config-file /etc/radius.conf diff --git a/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/pptpd.conf b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/pptpd.conf new file mode 100644 index 000000000..e9ac115c7 --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/pptpd.conf @@ -0,0 +1,5 @@ +#debug +option /etc/ppp/pptp-server-options +speed 115200 +stimeout 10 +#localip & remoteip are not needed, ip management is done by pppd |