platinum | 2005年四月03日, 23:39 网上关于用LINUX架设PPPoEServer的资料实在太少了,我找了很多资料,经过反复试验,终于成功了,特在这里总结一下,把方法和大家一起分享 为了VPN和NETFILTER,我先编译了内核,并在编译之前给内核打了MPPE+MPPC的补丁 然后给PPP打了MPPE+MPPC的补丁,并安装 最重要的,就是如何写/etc/ppp/pppoe-server-options,以及如何启动pppoe-server 架设PPPoEServer笔记platinum | 2005年四月03日, 23:39 网上关于用LINUX架设PPPoEServer的资料实在太少了,我找了很多资料,经过反复试验,终于成功了,特在这里总结一下,把方法和大家一起分享 为了VPN和NETFILTER,我先编译了内核,并在编译之前给内核打了MPPE+MPPC的补丁 然后给PPP打了MPPE+MPPC的补丁,并安装 最重要的,就是如何写/etc/ppp/pppoe-server-options,以及如何启动pppoe-server /etc/ppp/pppoe-server-options # PPP options for the PPPoE server # LIC: GPL plugin /usr/lib/pptpd/pptpd-logwtmp.so -pap +chap login lcp-echo-interval 10 lcp-echo-failure 2 ms-dns 202.106.46.151 ms-dns 202.106.0.20
/etc/ppp/chap-secrets # Secrets for authentication using CHAP # client server secret IP addresses "platinum" * "pppoe-test" * 启动方法:在/etc/rc.local中添加 /sbin/modprobe pppoe /sbin/pppoe-server -I eth1 -C PLATINUM -S LAN-ADSL -L 10.1.1.254 -R 10.1.1.1 -k -u -r |