防火墙与SMB?

由 coldcoffee 在 07-12-2002 19:16 发表:

防火墙与SMB?

每启SMB的时候都要关防火墙,真是很麻烦,有没有什么好办法,说详细一点。


由 Pye 在 07-13-2002 10:54 发表:


在ipchains的input链中添加:

ipchains -I input 1 -s 0/0 -p tcp -d 192.168.0.8(这里写自己的IP地址) 139 -j ACCEPT

然后保存

ipchains-save > /etc/firewall.txt

编辑/etc/bashrc

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus