LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-07-2005, 11:03 PM   #1
jmpmjmpm
Member
 
Registered: Feb 2005
Location: UK
Distribution: Ubuntu 6.10
Posts: 50

Rep: Reputation: 15
gateway pc & web server which linux?


hi all,
I have an old pentium 3 pc with 96mbram gathering dust in a cupboard. It has occured to me that I could use this pc as an internet gateway and firewall to my main pc and hopefully as a web server to serve up content to my mobile phone such as my e-mail, java stuff etc. I have a 2mb downstream and 256kb upstream broadband connection and can request a static ip for free. I also have a few .co.uk domains that I can point to my static ip address. I know I could use apache for normal web stuff but is this the same for wap? more to the point will apache let me serve up file to my mobile? also I want to be able to constantly download my mail from my isp and spam filter & virus check it delete it from the isp's server but host it on my "server" so that I can download it either with my mobile or main pc which is xp/linux dual boot. Am i right in assuming I will need to setup samba on the linux box so that my windows box can access the net from it? I want to leave this little "server" running pretty much permanently so that's why I want it to be linux based. Is there any security issues with doing any of this? one final question, would it be feasable to actually in future host a website with this box? Just to recap, I don't need this p3 pc to do anything else but be a gateway/firewall and a web/mail server with "built in" spam and virus filters.
Thanks for your help, James.
 
Old 03-08-2005, 12:46 AM   #2
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Re: gateway pc & web server which linux?

Quote:
I know I could use apache for normal web stuff but is this the same for wap? more to the point will apache let me serve up file to my mobile?
Yes, apache can server wap pages as well. There is nothing special from the network point of view - it's just the wap files have different content than html files.

Quote:
also I want to be able to constantly download my mail from my isp and spam filter & virus check it delete it from the isp's server but host it on my "server" so that I can download it either with my mobile or main pc which is xp/linux dual boot.
No problem, you will set up a mail server on this machine, together with spam and antivirus software, set up fetchmail which will download e-mail from your ISP server(s) and process it through your mail server.

Quote:
Am i right in assuming I will need to setup samba on the linux box so that my windows box can access the net from it?
No. You don't need samba for accessing the internet from your windows computer. Samba is useful if you wanted to use files stored on the linux machine disk from Windows.

All you need to be able to use the internet from your Windows PC through the linux gateway is to set up routing/NAT properly.

Quote:
I want to leave this little "server" running pretty much permanently so that's why I want it to be linux based. Is there any security issues with doing any of this?
Just patch it regularly with security updates from the distribution vendor's site and use a firewall. You should be OK security-wise then.

Quote:
one final question, would it be feasable to actually in future host a website with this box?
No problem, install and configure apache and you are done.
 
Old 03-08-2005, 03:34 AM   #3
jmpmjmpm
Member
 
Registered: Feb 2005
Location: UK
Distribution: Ubuntu 6.10
Posts: 50

Original Poster
Rep: Reputation: 15
thanks r0b0, much appreciated and off to the howto's I go. One final question though... any ideas where to look for the antivirus and anti spam software cos although I need to run it on linux I need it to filter the microsoft nasties. Cheers!
 
Old 03-09-2005, 07:35 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

for antivirus: I think ClamAV is the reference
for antispam: I think that the reference is spamassassin
for more soft do a search at freshmeat.net: http://freshmeat.net/

Oliv'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPTABLES How to access to web server on gateway from LAN? kozaki Linux - Networking 4 08-26-2005 11:27 AM
Linux web server ,distro & suggested hardware apogee Linux - Hardware 5 08-13-2005 11:29 PM
Web Server & Mail Server LinuxRam Linux - Newbie 7 08-30-2004 11:53 PM
Gentoo as gateway, qmail, apache, vsftpd & samba server? jownas Linux - Networking 2 04-21-2003 03:54 AM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration