Survey daripada anda diperlukan. Sila klik disini
|
Tolong... < macam mana nak jadikan komputer sebagai router >
|
|
03-29-2010, 02:44 PM
(This post was last modified: 03-29-2010 02:46 PM by hack3r2on3.)
Post: #21
|
|||
|
|||
|
RE: Tolong... < macam mana nak jadikan komputer sebagai router >
/proc digunakan utk modify kernel value mase running bg current session
echo"1">/proc/sys/net/ipv4/ip_foward ....system akn baca /etc/sysctl.conf on the next reboot..So utk nk wat permanently ip foward. setkan net.ipv4.ip_foward=1 kt dlm file sysctl.conf ;) Linux Power User RedHat [images]http://www.freeimagehosting.net/uploads/535f428483.png[/images] |
|||
|
03-29-2010, 03:19 PM
(This post was last modified: 03-29-2010 03:22 PM by TRUNASUCI.)
Post: #22
|
|||
|
|||
RE: Tolong... < macam mana nak jadikan komputer sebagai router >
(03-29-2010 02:44 PM)hack3r2on3 Wrote: /proc digunakan utk modify kernel value mase running bg current session aha.. then kena edit table iptables gak then save.. untuk "on-the-fly" edit ke sysctl, just taip: sysctl -w net.ipv4.ip_forward=1 tp untuk permanent elokla edit sysctl.conf dan save.. ![]() leh refer rujukan sini: http://www.ducea.com/2006/08/01/how-to-e...-in-linux/ http://www.cyberciti.biz/tips/linux-as-r...l#comments $ uname -a NetBSD 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb 6 17:53:27 UTC 2010 builds@b7.netbsd.org:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386 NetBSD 4.0_STABLE OpenBSD 4.5-stable FreeBSD 6.4 REL-p9 7.2-REL 7.3-REL 8.0-REL PCBSD 7.1.1 8 |
|||
|
« Next Oldest | Next Newest »
|







