pfSense 修改 PPTP/PPPOE 连接数限制

作者:reistlin 发布时间:November 24, 2010 分类:原创文章

作者: reistlin
来源: http://www.reistlin.com/blog/71
更新时间: 2009.06
版权声明: 原创文章.转载请保留作者信息和原文完整.谢绝任何方式的摘要

pfsense.gif

pfSense Max PPTP/PPPOE Connections

1. 登录 pfSense 控制台:

pfSense console setup 
***************************
 0)  Logout (SSH only)
 1)  Assign Interfaces
 2)  Set LAN IP address
 3)  Reset webConfigurator password
 4)  Reset to factory defaults
 5)  Reboot system
 6)  Halt system
 7)  Ping host
 8)  Shell
 9)  PFtop
10)  Filter Logs
11)  Restart webConfigurator
12)  pfSense Developer Shell
13)  Upgrade from console
14)  Disable Secure Shell (sshd)

2. 选择 "8" 进入 Shell:

Enter an option: 8

3. 编辑 /etc/inc/globals.inc 配置文件:

vi /etc/inc/globals.inc

"n_pptp_units" => 254,  /* this value can be overriden in pptp->n_pptp_units */
"pptp_subnet" => 24,    /* this value can be overriden in pptp->pptp_subnet  */
"n_pppoe_units" => 254, /* this value can be overriden in pppoe->n_pppoe_units */
"pppoe_subnet" => 24,   /* this value can be overriden in pppoe->pppoe_subnet  */

标签: pfsense

评论已关闭