Chinaunix

标题: NetBSD下做网关带宽控制用什么软件好? [打印本页]

作者: assiss    时间: 2007-10-06 08:03
标题: NetBSD下做网关带宽控制用什么软件好?
这里的好,指的是配置文件容易写。对效率不作要求。因为是家里的电脑,只有2~3台

由于对网关配置软件等基本上不了解,所以想配置文件容易理解最好。
作者: assiss    时间: 2007-10-06 08:03
FreeBSD的IPFW写带宽控制的配置似乎最好理解,可是NB下好像没有这个。
作者: congli    时间: 2007-10-06 10:17
PF啊
作者: assiss    时间: 2007-10-06 15:13
PF+ALTQ?
看了很多资料,不敢动手。
呵呵。做网关的机子基本上彻底废了,是台笔记本,但键盘坏了,光驱坏了,没有软驱,不支持U盘启动。万一配置文件写错了,SSH登陆不上,那又得花一个晚上折腾拆硬盘了。
作者: congli    时间: 2007-10-06 16:41
哈~
对内网卡加下面一句就啥问题都没有.
pass quick on $int_if all keep state
作者: bestwc    时间: 2007-10-06 16:59
安装了不用配就可以用,没什么特殊需求的话就+1条规则就好
作者: assiss    时间: 2007-10-06 22:47
单独使用ALTQ实现了。PF还是不想动。没想到ALTQ还要重配内核,多花了半个小时。
作者: gofans    时间: 2007-10-07 12:01
裝NetBSD??    呵呵!! 這也算麻煩啊!!! 唉!! 裝個m0n0wall行了,而且是web介面配置,很方便的!!
作者: assiss    时间: 2007-10-07 20:09
原帖由 gofans 于 2007-10-7 12:01 发表
裝NetBSD??    呵呵!! 這也算麻煩啊!!! 唉!! 裝個m0n0wall行了,而且是web介面配置,很方便的!!

我的网关是多功能的,还要提供SSH、HTTPD、FTP、编程开发环境……所以装个全系统是必要的。
作者: drivel    时间: 2007-10-08 00:15
原帖由 assiss 于 2007-10-7 20:09 发表

我的网关是多功能的,还要提供SSH、HTTPD、FTP、编程开发环境……所以装个全系统是必要的。

m0m0都能做到吧
作者: bestwc    时间: 2007-10-08 11:49
就像有了ports还是有那么些人喜欢源码安装一样,有时候玩Unix-Like就是为了自我虐待。
作者: assiss    时间: 2007-10-09 12:26
我做的很多开发是基于NETBSD的PKGSRC及其MK系统的,所以所有FB的系统对我没用。
作者: hongzjx    时间: 2007-10-09 17:17
pf做带宽控制比较爽!
作者: hongzjx    时间: 2007-10-09 17:17
建议LZ用pf!
作者: gofans    时间: 2007-10-09 20:32
原帖由 assiss 于 2007-10-7 20:09 发表

我的网关是多功能的,还要提供SSH、HTTPD、FTP、编程开发环境……所以装个全系统是必要的。




10樓說得對!!! 絕對可以滿足你的要求!!

引用m0n0.ch


    m0n0wall is a project aimed at creating a complete, embedded firewall software package that, when used together with an embedded PC, provides all the important features of commercial firewall boxes (including ease of use) at a fraction of the price (free software).
m0n0wall is based on a bare-bones version of FreeBSD, along with a web server, PHP and a few other utilities. The entire system configuration is stored in one single XML text file to keep things transparent.
m0n0wall is probably the first UNIX system that has its boot-time configuration done with PHP, rather than the usual shell scripts, and that has the entire system configuration stored in XML format。


                    不過建議用PF!!!

[ 本帖最后由 gofans 于 2007-10-9 20:33 编辑 ]
作者: loser123    时间: 2007-10-10 09:05
标题: 瞎说
mono只是一个简单的内核加上一些常用的bin,和minihttp 和php,

没有其他的了,,

没有办法作编程环境。。。(除了php的cgi模式)

和其他的应用




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2