服务器:DELL 1950
OS:Panabit 8.2
现在的新版本9己是界面化安装,虽然有点简陋但还是有改进,我这儿不知道为什么9.2安装正常,但Panabit死活无法运行(9.2的web和root的登录密码均是:panaos
TOP:

 

这台老旧的服务器客户计划用来监听网络的,但不想用收费系统和软件(的确不值),由于这台服务器太老了不能做为中间路由使用,于是我们打算把它做成旁路监听,安装Panabit,这台服务器只有两块网卡,一块接交换机的monitor端口 ,一块正常接入交换机端口(做为管理界面端口)
放入Panabit光盘,进入BSD系统(用户名:root 、密码:root)安装步骤:
#./setup            //输入./setup
Welcome to Panabit system automatically install shell!
欢迎Panabit系统自动安装外壳!
The installation will delete all data on your hard disk and can not be restored!!
安装时将删除硬盘上的所有数据,并无法恢复!
Please confirm whether or not to continue the installation!
请确认是否要继续安装!
Do you want to continue(y/n[n])y   //这里输入“y”
你是否要继续
Following disks are detected: ad0     //这里是系统检测硬盘,我只有一个硬盘所以它检测到ad0
检测到下列磁盘:ad0
Please select on [ad0]:            //这里是问用户要将系统安装到哪个硬盘,我只有一个硬盘,所以直接回车既可
请选安装在[ad0]
We begin to format the disk "ad0" and begin to install FreeBSD 8.0!
我们将开始格式化硬盘"ad0"并且将安装FreeBSD8.0
Do you want to continue(y/n[y]) y   //当然选择继续,直接回车
你是否要继续
cylinders=4161
heads=16
sectors/track=63        //以上三行显示磁盘的CHS参数。
Formatting the disk and copy files,please wait a moment!
格式化磁盘和复制文件,请稍等片刻!
FreeBSD 8.0 Install OK!
FreeBSD8.0安装成功

Welcome installing panabit!
************Congratulations******************!
You have successfully installed Panabit on your system!
你的系统上己成功安装Panabit
Following interfaces are installed in your system:
以下接口安装在你的系统上
    em0 em1        //系统检测出两块网卡
Please choose one of above as your admin interface:em1        //我选择了em1做为管理接口
请在以上选择一个作为你的管理接口:
Please input ip address of admin interface:192.168.130.253    //输入管理IP
Please input network mask of admin interface:255.255.255.0    //输入子网掩码
Please input default gateway:192.168.130.254            //输入网关


再次显示配置结果:
Your interface configurations are:
Admin interface : em1
Admin ip address : 192.168.130.253
Admin netmask : 255.255.255.0
Default gateway : 192.168.130.254
Data interfaces : em0
Thank you for using panabit!
Eject CDROM!
Reboot system then the system automaticly start panabit at system startup!
If you want to stop the currently running panabit, you can issue
"/usr/panabit/bin/ipectrl stop" to stop it!
You can issue "/usr/panabit/bin/ipectrl start" to start panabit!
Panabit8# reboot        //退出光盘重启系统

在浏览器里输入:https://192.168.130.253    (注意:是https)

Web管理用户名admin,口令panabit

只作旁路监听的话简单……灰常简单,其实只用看说步骤就可以完成,没有什么更多可配置和更改的,Panabit这方面做的很赞!

交换机的配置也很简单,就是一个口做destination monitor,其它要监听的口作source monitor,destination monitor端口接Panabit服务器的非管理接口,Panabit服务器的管理接口(在安装Panabit过程中配置过的)接在交换机的任意端口(只要能从客户端访问到就行)
(config)#monitor session 1 source interface f1/0/1 - 21        //设置被监听端口(源端口,接用户端或二级交换机)
(config)#monitor session 1 destination interface f1/0/22        //设置监听端口(接监听设备Panabit的)