- 论坛徽章:
- 0
|
原帖由 platinum 于 2006-8-4 05:31 发表
你说的是浪费掉 IP 还是浪费掉带宽?后者怎么会?
另外你想过没有,既然你考虑到了机器不用的话浪费,但有没有考虑过如果做 nat 的机器突然关机了其他机器怎么办?
sorry that i did not clearly express it. I does mean wasting of ip because in our network the flow per ip is restricted.
As to machine halting, it is rather an exception than a rule since my server performed nice mostly.
A related question, if i flush all three tables then do nothing, does that mean that filter has't any rule on all packets? If it is true, then i add a rule in POSTROUTING chain of NAT table as following:
iptables -t nat -A POSTROUTING -s LAN_NET -o eth1 -j SNAT --to WANIP
,in which LAN_NET is my local net through eth0, and WANIP is my internet ip through eth1. But why clients from local net could't connect to internet through the machine? A more word, ip_forward is on.
BTW, excuse me for my english writing because my chinput can't work now.
[ 本帖最后由 madebynt 于 2006-8-4 20:40 编辑 ] |
|