我这里有好几台机子,现在有点忘了,在装的时候防火墙是怎么设的,但没记错的话,我设置的都是关闭的,我现在在终端下敲入setup,设置防火墙,但总是告知ipchanins:protocol not available。但我现在用的是2.4.18-3的内核,RH7.3,据我所知现在用的不是ipchains了,2.4内核用的是iptables,这该如何设置防火墙啊,如何block?
kernel ip routing table
destination gateway genmask flag metric ref use iface
192.168.50.0 X 255.255.255.0 U 0 0 0 eth1
192.168.10.0 X 255.255.255.0 U 0 0 0 eth0
192.168.20.0 X 255.255.255.0 U 0 0 0 eth0
127.0.0.0 X 255.0.0.0 U 0 0 0 lo
169.254.0.0 X 255.255.0.0 U 0 0 0 eth1
2号机:
kernel ip routing table
destination gateway genmask flag metric ref use iface
192.168.20.0 X 255.255.255.0 U 0 0 0 eth1
192.168.30.0 X 255.255.255.0 U 0 0 0 eth1
192.168.10.0 X 255.255.255.0 U 0 0 0 eth0
127.0.0.0 X 255.0.0.0 U 0 0 0 lo
3号机:
kernel ip routing table
destination gateway genmask flag metric ref use iface
192.168.20.0 X 255.255.255.0 U 0 0 0 eth0
192.168.30.0 X 255.255.255.0 U 0 0 0 eth1
192.168.10.0 X 255.255.255.0 U 0 0 0 eth0
127.0.0.0 X 255.0.0.0 U 0 0 0 lo