dear linuxiest
rekan-rekan anggota milis semua saya perlu bantuan neh
seputar konfigurasi REdhat 7.0 untuk server di
warnet..
saya sudah menginstall RH 7.0 dan berjalan dengan
baik untuk koneksi ke internet. yg jadi masalah ketika
saya coba seting machine ini untuk server di warnet
kenapa yah client tidak bisa access ke internet...
saya sudah rubah /etc/rc.d/rc.local nya..
berikut ini yg sudah saya rubah pada server saya
ethernet card
eth0 10.11.12.121 netmask 255.255.255.252
gateway 10.11.12.122
eth1 192.168.0.254 netmask 255.255.255.0
/etc/sysconfig/network
NETWORKING=yes
HOSTNAME="intra.jogjamedia.net"
GATEWAY="10.11.12.122"
GATEWAYDEV="eth0"
FORWARD_IPV4="yes"
NISDOMAIN=""
pada file /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other
init scripts.
# You can put your own initialization stuff in here if
you don't
# want to do the full Sys V style init stuff.
if [ -f /etc/redhat-release ]; then
R=$(cat /etc/redhat-release)
arch=$(uname -m)
a="a"
case "_$arch" in
_a*) a="an";;
_i*) a="an";;
esac
NUMPROC=`egrep -c "^cpu[0-9]+" /proc/stat`
if [ "$NUMPROC" -gt "1" ]; then
SMP="$NUMPROC-processor "
if [ "$NUMPROC" = "8" -o "$NUMPROC" = "11" ];
then
a="an"
else
a="a"
fi
fi
# This will overwrite /etc/issue at every boot.
So, make any changes you
# want to make to /etc/issue here or you will lose
them when you reboot.
echo "" > /etc/issue
echo "$R" >> /etc/issue
echo "Kernel $(uname -r) on $a $SMP$(uname -m)" >>
/etc/issue
2
cp -f /etc/issue /etc/issue.net
echo >> /etc/issue
fi
echo "1" > /proc/sys/net/ipv4/ip_forward
/sbin/ipchains -P forward ACCEPT
/sbin/ipchains -A forward -j MASQ -s 192.168.0.254/24
-d 0.0.0.0/0
/sbin/modprobe ip_masq_user
/sbin/modprobe ip_masq_irc
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_mfw
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_vdolive
/sbin/modprobe ip_masq_cuseeme
/sbin/modprobe ip_masq_quake
/sbin/modprobe ip_masq_portfw
/sbin/modprobe ip_masq_autofw
/usr/local/psionic/portsentry/portsentry -audp
/usr/local/psionic/portsentry/portsentry -atcp
/sbin/modprobe dummy
/sbin/ifconfig dummy0 202.59.196.204 netmask
255.255.255.0
ini server bisa terhubung ke internet tetapi dari
client tidak bisa connect ke internet...
untuk itu saya mohon bantuan dari teman2 anggota milis
semua,..
atas bantuannya saya ucapkan terima kasih
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
--
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3