如何在linux上架设PPPoE server?

如何在linux上架设PPPoE server? - 乐维UP


0
74d9bef72014d69517223503770dcd13768668
,IT系统运维人员

在网上几乎找不到相关的资料,反复试验了几次没有成功。有没有大虾冒出来指点一下?

 
还没有相关评论
 
李新天
最近编辑于
2012年02月27日

共 1 个答案


1
99db8569ef6f7cd0b4c02617fd3986cc502913
,项目经理,关注运维

这个不是特别复杂。

为了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

-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

原文地址:https://www.cnblogs.com/lexus/p/2391738.html