|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
大家好!今天说说bbi管理器中功能的实现方法离线制作的bbi光盘配置的信息无法保存,经研究发现bbi的配置信息是被保存到etc/.config目录中的文件中来用的。不同的文件名对应不同的功能,我们添加这些文件便是添加了这些功能。下面我给出用到的文件名和配置信息的格式,请加入到etc/.config目录中,再从bbi管理器中看看,多了那些功能。b-A block -i eth1 -p tcp -s 11.11.11.91 --sport 80 -d 192.168.0.122 --dport 8080 -j REJECTB1|1|11.11.11.91|80|192.168.0.122|8080|0|4|1|||0hsubnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.3 192.168.0.253; option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.1; option domain-name-servers 192.168.0.1; default-lease-time 86400; max-lease-time 604800;}host abc { hardware ethernet 00:00:00:00:00:00; fixed-address 192.168.0.222; option host-name "abc";}host thgh { hardware ethernet 11:11:11:11:11:11; fixed-address 192.168.0.111; option host-name "thgh";}host qwed { hardware ethernet 33:33:33:33:33:33; fixed-address 192.168.0.88; option host-name "qwed";}host awdf { hardware ethernet 55:55:55:55:55:55; fixed-address 192.168.0.168; option host-name "awdf";}H127.0.0.1 localhost192.168.0.1 BBIagent BBIagent192.168.0.222 cdef abc #00:00:00:00:00:00192.168.0.111 fgh thgh #11:11:11:11:11:11192.168.0.88 yuk qwed #33:33:33:33:33:33192.168.0.168 dfthjyt awdf #55:55:55:55:55:55m-A access -s 192.168.0.116 -p tcp -m state --state NEW --dport 8080 -j ACCEPT-A access -s 192.168.0.116 -p tcp -m state --state NEW --dport 8080 -d 11.11.11.95 -m time --timestart 0:0 --timestop 23:59 --days Mon,Tue,Wed,Thu,Sun -j ACCEPTM1|1|192.168.0.116|0|8080|0|0||||1|2|192.168.0.116|0|8080|0|0|11.11.11.95|||1-4,7PUSERPASS=333333RINT_IP=192.168.0.1INT_NETMASK=255.255.255.0INT_HOST=BBIagentINT_DOMAIN=www.luhexx.comS (外网自动获取ip用;pppoe协议用)PROXY_DNS=1DHCP_SERVER=1DHCP_IP_FROM=192.168.0.3DHCP_IP_TO=192.168.0.253DHCP_DNS=192.168.0.1DHCP_WINS=v (虚拟服务用)-t nat -A PREROUTING -j DNAT -i eth1 -p tcp --dport 80 --to 192.168.0.1-t nat -A PREROUTING -j DNAT -i eth1 -p tcp --dport 21 --to 192.168.0.112-t nat -A PREROUTING -j DNAT -i eth1 -p tcp --dport 3389 --to 192.168.0.112V (虚拟服务用)1|1|80|0|192.168.0.1||0||0||0|||1|2|21|0|192.168.0.112||0||0||0|||1|3|3389|0|192.168.0.112||0||0||0|||Y (外网卡固定ip用)200,/var/conf/ps110,/proc/sys/net/ipv4/conf/eth1/rp_filter100,/proc/sys/net/ipv4/tcp_syncookies111,/proc/sys/net/ipv4/conf/eth1/accept_source_route100,/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts100,/proc/sys/net/ipv4/icmp_echo_ignore_all111,/proc/sys/net/ipv4/conf/eth1/accept_redirectsY (pppoe协议用的)200,/var/conf/ps110,/proc/sys/net/ipv4/conf/ppp0/rp_filter100,/proc/sys/net/ipv4/tcp_syncookies111,/proc/sys/net/ipv4/conf/ppp0/accept_source_route100,/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts100,/proc/sys/net/ipv4/icmp_echo_ignore_all111,/proc/sys/net/ipv4/conf/ppp0/accept_redirectsd (外网dhcp自动获取ip用,)BootOn=1 (路由器启动时自动连接)e (pppoe协议用的)BootOn=1OPTIONS=USER=2222222222PASS=33333333OnDemand=0AutoOff=0IdleTime=AutoOn=1Interval=10FixedIP=0LocalIP=RemoteIP=ServiceN=ServerN=f (外网卡固定ip用)BootOn=1FIP=11.11.11.96FMASK=255.255.254.0FGW=11.11.11.1FDNS=11.11.11.30FMAC=有什么心得、体会、经验请跟贴发表。如果对你有所帮助,顶一顶让更多人看到,让更多的人给bbi作免费测试。祝大家用好、用活bbi声明:本贴仅供学习研究之用途,不得用于商业目的。不足之处请大家斧正。 |
|