On Mon, Jul 07, 2003 at 09:50:26AM +0700, Nur Ichsan wrote:

> Hi, semua
> 
> saya coba taruh perintah iptables di /etc/sysctl.conf kenapa nggak jalan
> internet sharingnya ya..
> tetapi kalau saya jalankan iptables melalui comand promp bisa share
> 
> #file /etc/sysctl.conf
> net.ipv4.ip_forward = 1
> net.ipv4.conf.default.rp_filter = 1
> kernel.sysrq = 0
> kernel.core_uses_pid = 1
> iptables -A POSTROUTING -j MASQUERADE -t nat -s 192.168.0.0/24 -o eth1
> # end of file
> 
> mohon penjelasan teman-teman dimana saya harus meletakkan perintah iptables
> tersbut

seharusnya di file "start-up" sewaktu booting, misalnya /etc/rc.local
bukan sysctl.conf :)

salam,
-- 
Asfihani - http://efnet.linux.or.id


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Kirim email ke