iptables的这两条语句有什么不同???

由 prolife 在 05-25-2003 20:03 发表:

iptables的这两条语句有什么不同???

iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o ppp0 -j MASQUERADE

iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.0.0/24 -j MASQUERADE

这两条语句有什么不同?


由 oyzjin 在 05-25-2003 21:52 发表:


我都好想知道啊!

请问有谁知道哪有有关iptables的语法规则的资料?

我已看过linuxsir、linuxaid和linuxfans中有关iptables的很多资料了!但是有很多都不是很明白,有很多只要调一下顺序就有很多变化的!还有太多不明白了!比方说我用一张网卡绑定两个IP的时候iptables就不认我的eth0:0拉!哪我应该怎样做呢?


k7_550 asus_kx133 win98 winnt

c433 810 redhat9.01 23G_scsi128m


由 swift 在 05-26-2003 03:09 发表:


-i 流入网卡界面

-o 流出网卡界面


由 prolife 在 05-26-2003 07:54 发表:


是呀,我也很多语法规则不知道,哪位虾皮给个专门介绍iptables语法规则的网址


由 Snoopy 在 05-26-2003 10:06 发表:


MASQUERADE

这代表什么啊?


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


由 evis 在 05-26-2003 16:36 发表:


MASQUERADE

允许ip伪装

iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o ppp0 -j MASQUERADE

iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.0.0/24 -j MASQUERADE

这两条语句有什么不同?

这两条语句功能一样吧,有什么区别吗


由 oyzjin 在 05-26-2003 16:45 发表:


<p

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