To connect your LAN to internet you only need these commands:

          cd  /proc/sys/net/ipv4
          echo 1 > ip_forward
          ipchains - A forward -s 192.168.0.0\0 -d 0.0.0.0\0 -j MASQ

  Assuming your server adress is 192.168.0.1, your workstations gateway
should be 192.168.0.1, dns       server for your workstations should be
your ISP DNS's. Thats all. Works 100%. This process is called
IP Masquerade. Mail me if any problems.


Zlatko.



Robert Soros wrote:

> Might try this at the command line
>
>         echo 1 > /proc/sys/net/ipv4/ip_forward
>
> and hopefully your kernel has all the proper nat stuff built in...
>
> :) Good luck
>
> Robert Soros
> [EMAIL PROTECTED]
> http://soros.ath.cx
>
> > I have the following setup: DNS and BIND, Samba, Win9x (TCP/IP,
> > Gateway, DNS), lmhosts and hosts, resolver on server.  With all these,
> > I'm still not able to retrieve anything from the Internet with a Win9x
> > workstation going through a primary server.  Although, I am able to
> > ping a web site from the workstation, but I'm not able to browse the
> > Internet with Netscape.  What did I leave out?
> >
> > Note: Detailed Document(s) and Sample(s) are more than welcome.
> >       When you reply to this message, please include
> >       the mailing list and my email address.
> >
> > *********************************************************************
> > Signed,
> > SoloCDM
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to