my linux ip is 192.168.1.1 and so is dns...and gateway
i have modem in com2(ttyS1) and eth0 <--192.168.1.1
i have 3 client 192.168.1.2 -- 192.168.1.4

i use redhat 5.0 and diald 0.16.14......
i try to copy dial.conf, connect from usr/doc/diald-0.16.14....to their
place...
i edit the necessary lines....telp number, user and password in
/etc/ppp/connect files

and then i add following lines to my /etc/rc.d/rc.local to make
ip_masquerade
echo "ip_masq 192.168.1.1"
#echo "1" > /proc/sys/net/ipv4/ip_forward  <-- for this i set file
/etc/sysconfig/network .... forward_ipv4=true
/sbin/depmop -a
/sbin/modprobe ip_masq_ftp.o
/sbin/modprobe ip_masq_raudio.o
/sbin/modprobe ip_masq_irc.o
/sbin/ipfwadm -F -p deny
/sbin/ipfwadm -F -a m -S192.168.1.0/24 -D0.0.0.0/0
/sbin/ifconfig eth0 192.168.1.1
/sbin/route add -net 192.168.1.0

this lines i get from http://www.tor.shaw.wave.ca/~ambrose/rh5setup.html

i try to run diald by type it in shell....
the i try open www.redhat.com from client which gateway is setup to
192.168.1.1
it dial.....but when i type ifconfig -a there no ppp0 ? there is only sl0
with local ip :(?
and then disconnect....

what wrong ?? please help me
thanks


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to