作者:李振華
一
IP偽裝是當一個計算機訪問Internet時能將其自身的IP地址偽成其他機器的IP地址
在Turbo Linux下是通過使用如下命令設置IP偽裝的
#/sbin/ipchains –P forward DENY
#/sbin/ipchains –A forward –s xxx
其中y是根據子網的級別而確定的數字

二
我們以如下網絡結構圖為例

在該網絡結構圖中
防火牆與一個PPP服務器通過電話線相連
我們要使私有網絡的所有主機通過防火牆進行IP偽裝
echo
/sbin/modprobe ip_masq_cuseeme
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_irc
/sbin/modprobe ip_masq_quake
/sbin/modprobe ip_masq_user
/sbin/modprobe ip_masq_vdolive
/sbin/ipchains –P forward DENY
/sbin/ipchains –A forward –j MASQ –i ppp
在該腳本程序中
From:http://tw.wingwit.com/Article/program/Oracle/201311/17906.html