Hello everybody,

This is not the Full proof plan, but any which it works well for me.
Try this at your own risk.

################
Sever side configuration
################

Where=XXX.XXX.XXX.XXX are the details provided by your ISP

Configure eth0

IPADDR=XXX.XXX.XXX.XXX
NETMASK=255.XXX.XXX.XXX
GATEWAY=XXX.XXX.XXX.XXX

vim /etc/resolve.conf

namerserver=XXX.XXX.XXX.XXX


Configure eth1

IPADDR=192.168.200.1
NETMASK=255.255.255.0


vim /etc/sysctl.conf

edit the below line

net.ipv4.ip_forward = 0

to

net.ipv4.ip_forward = 1


sysctl -p

iptables -F

/etc/init.d/iptables save

##### Confirm this command #####
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
#######
/etc/init.d/iptables save

iptables -t nat -L

###################
Client side
###################


IPADDR=192.168.200.2

NETMASK=255.255.255.0
GATEWAY=192.168.200.1

vim /etc/resolve.conf



namerserver=XXX.XXX.XXX.XXX


Regards 

Pratap



--- On Fri, 30/7/10, गौरव जोशी <gouravjo...@gmail.com> wrote:

From: गौरव जोशी <gouravjo...@gmail.com>
Subject: Re: [LinuxVadaPav] configuration help
To: linuxvadapav@yahoogroups.com
Date: Friday, 30 July, 2010, 4:54 AM







 



  


    
      
      
      On Thu, Jul 29, 2010 at 8:11 PM, sachin bandkar 
<sachin_band...@yahoo.com>wrote:



>

>

> I trying to setup a cybercafe with linux(fedora 13) server & from that I

> want to access internet in windows system

>

> --- On Thu, 7/29/10, गौरव जोशी 
> <gouravjo...@gmail.com<gouravjoshi%40gmail.com>>

> wrote:

>

> > From: गौरव जोशी <gouravjo...@gmail.com <gouravjoshi%40gmail.com>>

> > Subject: Re: [LinuxVadaPav] configuration help

> > To: linuxvadapav@yahoogroups.com <linuxvadapav%40yahoogroups.com>

> > Date: Thursday, July 29, 2010, 3:26 PM

>

> > On Thu, Jul 29, 2010 at 3:12 PM,

> > sachin bandkar <sachin_band...@yahoo.com <sachin_bandkar%40yahoo.com>

> >wrote:

> >

> > >

> > >

> > > how to configure internet or network from linux to

> > windows

> > >

> > >

> > >

> >

> >

> > Hi

> >

> > Can you elaborate what you want to know?

> >

> >

> > Have a nice time,

> > Gourav Joshi

> > www.linuxquestions.in is *BACK*

> >

> >

> > [Non-text portions of this message have been removed]

> >

> >

> >

> > ------------------------------------

> >

> > Yahoo! Groups Links

> >

> >

> >     
> > linuxvadapav-fullfeatu...@yahoogroups.com<linuxvadapav-fullfeatured%40yahoogroups.com>

> >

> >

> >

>

>  

>



Hi Sachin,



Install Fedora on lowest configuration machine with minimal packages. Do

remember to install Squid. Then configure Squid as proxy caching server with

ACLs for different requirements. Then configure all Windows clients browsers

to use proxy. Squid will help you to apply restrictions as well as with

addition of caching in it, users will experience good speed for surfing.



Have a nice time,

Gourav Joshi

Have a look at www.linuxquestions.in



[Non-text portions of this message have been removed]





    
     

    
    


 



  







[Non-text portions of this message have been removed]

Reply via email to