[Gllug] Need help with Ipchains & setup - ADSL hosting at home.

hari Pillai hari at pillai.co.uk
Wed Aug 7 22:13:19 UTC 2002


Thanks for the information everyone. Setup is to learn web application
deployment and Linux.

What I had done so far,  I have configured a old PIII machine with
Mandrake Linux 8.1, connecting to the ADSL and all working fine. Using
the USB Alcatel driver configured on the ppp0 interface and also have a
static IP address. Tested the connection via internet and works fine.

The problems I have at the moment are, I should not say problems, but
how do I setup the following, 

Linux machine has the following:-

	Ppp0 = 213.123.217.138 - external interface.
	Eth0 = 192.168.1.10  - my internal network.


Currently I have networked this machine with a Windows 2000
machine(192.168.1.50) using a small hub. I can ping my Linux machine and
ftp files etc. no issues.

How can browse the internet and get the e-mail's on my windows 2000
machine, what do I have to do on my Linux/Windows  machines?. I have
tried changing the setting on my Internet browser proxy setting to
192.168.1.10, but does not seems to work. Cannot see any external web
sites.

I have added a 213.123.217.138 as default route on the Linux machine,
which enabled web browsing on this machine. Not the correct way to do
this, what is correct route setting should be for a configuration such
as this. So my internal LAN traffic can flow between Internet and LAN.

Spoken to few people, I been told to implement a firewall configuration
on this machine, so I have purchased the "linux firewall" book and based
on this I have created a small firewall script. Attached with this
e-mail, but I'm getting errors "protocol don't exist". Any idea what I
am doing wrong please.

If some one has a similar setup, if I could borrow the setting to get
this going would a great. 

Any help you could give me would be greatly appreciated.


Hari


-----Original Message-----
From: gllug-admin at linux.co.uk [mailto:gllug-admin at linux.co.uk] On Behalf
Of Jim Bailey
Sent: 07 August 2002 02:05
To: gllug at linux.co.uk
Subject: Re: [Gllug] ADSL hosting at home.


On Wed, Aug 07, 2002 at 12:49:47AM +0100, hari Pillai wrote:
> Hi All,
> 	Any on the list, hosting a web server using ADSL at home?. Just 
> wondering what the configuration / hardware requirement for such a 
> setup would be, I am thinking of setting this up..
>
The most important thing to do is check your terms and conditions a lot
of home ADSL packages do not allow any form of web server, streaming
audio etc.  However buisiness packages are down to 30UKP and will have a
20:1 ratio extra static IPs and will allow you to do all this, well
worth checking out.

Hardware wise you could run it off your Linux desktop or alternatively
gett some thing cheap and nasty from somewhere like RL supplies. [1] You
should not be paying more than 250UKP for a 1GHZ Athlon where ever you
buy it.

Memory is never a bad idea 128MB is OK but more never did any harm.

You might want ot consider a decent NIC Intel being my current favorite
for a whole load of reasons I won't go into here but PXE and bangs per
bucks springs to mind.

Configuration:

Unless you are sh*t hot at rolling your own packages consider keeping
the whole box running off standard binaries.  My own well documented
preferences here is Debian.  subscribe to the Debian security list and
run apt-get update and apt-get upgrade daily, more frequently if a DSA
notice is released.  If you are an rpm user Mandrake have something
similar but I have never used it.

The only thing to really configure before you're up an running should be
the ServerName directive in /ect/apache/httpd.conf tell the people you
bought your domain off to point their DNS records to your IP address and
you should be away.

I am sure that I have missed off several very important steps but hey it
0200hrs I am back on 12hr 7 day shift schedule and am very likely to
ramble manically in my email for the next few days.  Apologies in
advance. ;)

You can check out some links on my home page at http://freesolutions.net
they may be of use to you.  Have fun and good luck. :)

Peace Jim


[1] http://www.rlsupplies.co.uk 
I neither support or recommend RL supplies they are neither Linux or
Microsoft friendly they do one thing and one thing only sell kit cheap,
remember you get what you pay for.  That said I have had very little
problems with their kit over the last couple of years

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rc.firewall_linux
Type: application/octet-stream
Size: 1833 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20020807/6f1bf1d1/attachment.obj>


More information about the GLLUG mailing list