找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3766|回复: 6

mss盒子上装iptables

[复制链接]
觉得MSS系统里面没有防火墙, 不够安全, 重要点的东西也不能放上去, 所以想着装个iptables
openmss没有提供iptables的包, nlu2的目录下也没有, 只好用debian的了
分几步
1.用insmod增加内核对iptables支持
#insmod /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o
#insmod /lib/modules/2.4.20/kernel/net/ipv4/netfilter/iptable_filter.o
2.装debian
使用Debian on MIPSEL arch: Debian-bcm47xx http://code.google.com/p/debian-bcm47xx/
解开到/opt/debian, 进入debian
#chroot /opt/debian /bin/bash
修改sourceslist, 如下
#cat /etc/apt/sources.list
deb http://archive.debian.org/debian etch main
deb http://debian-bcm47xx.googlecode.com files/
更新源
#apt-get update
更新包
#apt-get upgrade
安装iptables
#apt-get install iptables
安装好后即可以使用iptables, 如
chroot /opt/debian/ iptables -F
chroot /opt/debian/ iptables -A INPUT -i eth0 -p tcp --dport 23 -j ACCEPT
chroot /opt/debian/ iptables -L
可以在/opt/etc/init.d/下写个shell, 启动即可生效
我的恩山、我的无线 The best wifi forum is right here.
技术贴,留名。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头疼的2.4内核!没法安装mplayer 西捷快出个2.6核吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头疼的2.4内核!没法安装mplayer 西捷快出个2.6核吧
hz200 发表于 2010-6-22 15:47


MSS上装mplayer干嘛?? 放电影??
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

MSS上装mplayer干嘛?? 放电影??
writer15 发表于 2010-6-25 18:24

播网络电台,USB声卡
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

2.4也可以装mplayer的,只是装了也没啥用,CPU没有FP,连网络电台也有一点点卡........
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

装防火墙??
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 07:13

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表