[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:00128] Re: IP masquerade configuration
>>>>> "NM" == Nakamichi Munetaka <munekun@xxxxxxxxxxxxxxxxx> writes:
NM> とりあえず各種のドキュメントを読みながら手動でIP masquerade
NM> できるようになりました。が、rc.*がよく分からないので、どこに
NM> /sbin/ipfwadm -F -b -o -a masquerade -P all \
NM> -S 192.168.8.0/28 -D 0.0.0.0/0
手元のマシンでは /etc/init.d/network に書いてます。
NM> /sbin/depmod -a
NM> /sbin/modprobe ip_masq_ftp.o
NM> /sbin/modprobe ip_masq_raudio.o
NM> /sbin/modprobe ip_masq_irc.o
depmod -a は /etc/init.d/modules で実行されます。また /etc/modules に
必要なモジュールを書いておくと自動的にロードされます。
NM> をどこに書き加えればいいのかわかりません。
NM> rc.localって存在しないのでしょうか?
NM> #rc.* については*BSDのほうがシンプルなよーな気がする。
Debian の rc ファイルは SVR4 スタイルですね。
--
Kaz Sasayama
- PGP key fingerprint = 53 71 54 56 FB 3D 76 0B 92 5D 32 40 C5 34 38 00
You want free authoring software? Look at the new Hyperplay authoring
framework at <URL:http://www.spice.or.jp/%7Ehypercor/hyperplay/>.