1.配置虛擬端口:tcp
interface Dialer1
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username USER_NAME password 0 PASSWORDide
2.vpdn虛擬撥號鏈接接口
vpdn enable 開啓虛擬撥號ip
vpdn-group pptp 定義組名路由
Default PPTP VPDN group
accept-dialin 請求撥號
protocol pptp 撥號協議
virtual-template 1 io
3.外網接口:cli
pppoe enable group global
pppoe-client dial-pool-number 1配置
4.配置默認路由請求