由 seebeyond 在 01-15-2004 10:34 发表:
如何查看系统中设置的IPTABLES规则啊?
谢谢啦
由 Snoopy 在 01-15-2004 13:27 发表:
iptables -L 看input,output,forward
iptables -t nat -L 看nat的
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 seebeyond 在 01-16-2004 09:39 发表:
谢谢啦
嗯!
不停不息不倦一生去完成
不怨不悔不变一切是忠诚
由 runsonicrun 在 01-16-2004 12:55 发表:
请问, 我的NAT有问题, iptables列出来得是
[root@REDHATAS root]# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
rc.local:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.0/24 -j MSQUERADE
我的网络是局域网连入公网,但要现用PPPOE播号(没有ADSL猫). 服务器单网卡接入HUB, 请问我的iptables的rules该怎么写?!!!!!
急呀,兄弟们~~~~
ROOKIE
由 runsonicrun 在 01-16-2004 15:25 发表:
UP
ROOKIE