LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   I want to Create a web firewall and filter (https://www.linuxquestions.org/questions/linux-networking-3/i-want-to-create-a-web-firewall-and-filter-378523/)

Nauntilus 10-31-2005 12:59 AM

I want to Create a web firewall and filter
 
Can anyone point me in the right direction as to how i would build a web server using linux for my home network. The things i want to be able to do is redirect my router to use this machine as a firewall and a web filter. Does anyone know of any tutorials on this kind of thing? All help is appreciated. I dont care what kind of linux version it is i just want to set one up, i will be running it in a computer with a 600mhz processor and probly 128mb of ram with a 32mb video card. Dont know how much hard drive space, this is pretty much an experament. Thanks everyone.:Pengy:

iggep 10-31-2005 01:40 AM

You're in luck, because this is really simple to do. Generally all you have to do is install Apache and whatever else you need for the site you want to run... PHP/Mysql/Perl modules... etc. Then ensure your httpd service is set to start at system startup. By default it should be, but after you install apache run the following in a terminal 'service httpd status'. Should say it's on. if it's not, then 'service httpd start'.

Depending on what distro your'e running, ensure whatever frontend firewall app is configured passes traffic for port 80 inward. I use Mandriva so msec is my front end. Fairly simple to use. Your mileage will probably vary though.

And thats pretty much it. I'm assuming that you've already configured DNS to point to whatever your external ip address is and that you've already configured your firewall router to forward calls to port 80 to your server.

Nauntilus 10-31-2005 10:34 AM

ok that sounds pretty easy but how do i configure it all and how do i use a filter... like an ip filter or one that filters words from a url. Or something like that. I was reading on the internet and they mentioned squid guard, it that something i am going to want to use?

iggep 10-31-2005 11:48 AM

Sounds like you really need to halt your project and do some readign right now. I'd recommend that you read the documentation for your distrobution, then visit apache.org and read the documentation there. If you need squid (probably not), visit their website and read up about it there as well.

Nauntilus 11-05-2005 09:51 PM

Does anyone know where i can find those documentations that tell me those things?


All times are GMT -5. The time now is 11:53 PM.