LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 05-13-2006, 06:45 AM   #1
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Rep: Reputation: 30
Setting Up a Content Filter with 2 network cards


I need some help finalizing a machine that I am working on. I have put together a Slackware box as a content filter for the school I work at. I currently have dansguardian doing the content filtering and tinyproxy as the proxy that dansguardian uses in order to work. Dansguardian appears to work great, but only on THAT machine and with me specifying in KDE which port to use for the network (I'm forcing KDE to go through the content filter). So here are my questions.

1. How do I setup a transparent proxy so that every machine that connected to this filter is forced to go through dansguardian. I need step-by-step instructions.

2. The machine has 2 network cards. eth0 is the card that connects to the internet directly. eth1 SHOULD be the card that connects to the rest of the network. I need step-by-step instructions on how to get eth1 working so that the network passes through the content filter.

Thanks a 1x10^6.
 
Old 05-13-2006, 08:35 AM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I seen your other post on the subject and can't say whether squid will be a better option or not. But a quick search on google showed a link to using squid, dansguardian, and iptables. http://www.linux.com/article.pl?sid=04/07/01/1833212

This one http://www.pcquest.com/content/linux/2004/104050801.asp talks about configuring using webmin.

I have never setup a proxy before under linux but I believe you just need to set it up as just plain masquerading and then let the first post handle the filtering with the addition iptable commands.

Brian1

Last edited by Brian1; 05-13-2006 at 08:37 AM.
 
  


Reply



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
Setting Slack box as Firewall and Content Filter for School tubatodd Slackware 30 06-09-2006 12:50 PM
content filter in postfix jrafalek Linux - Software 0 04-05-2005 04:19 PM
Which Content Filter? jabird Linux - Networking 1 10-11-2004 06:09 PM
Internet content filter Bamse123 Linux - Software 4 12-31-2003 08:33 PM
setting up 2 network cards green_dragon37 Linux - Hardware 7 05-02-2003 11:52 AM

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

All times are GMT -5. The time now is 10:49 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