LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-23-2007, 03:56 AM   #1
torgeir.nes
LQ Newbie
 
Registered: May 2007
Posts: 3

Rep: Reputation: 0
filtering with iptables behind a proxy


Background: As a Sysadmin in a school I have 2 computers standing in the library; which are only to be used for searching the library database which is located on a server (I have no idea where this server is, the main library in this town i think) So i have blocked all IP-addr except this one and the DNS IP.

This worked fine until yesterday, when the central IT department for all highschools in the county installed a proxy in their serverpark. I don't know what type of proxy it is they are running, but that doesn't matter much either since i don't have permission to do changes on it anyway.

I can authenticate on the proxy and get online, with the machines, but i have to allow traffic both INNPU and OUTPUT from the proxy, which means that the machines now can browse the entire web.

Is there any way I can filter this? huh
Since asking the IT department is of no use, even if they had taken the phone when i called them they would most likely just have broken everything... angry
 
Old 05-24-2007, 01:14 AM   #2
p_s_shah
Member
 
Registered: Mar 2005
Location: India
Distribution: RHEL 3/4, Solaris 8/9/10, Fedora 4/8, Redhat Linux 9
Posts: 237
Blog Entries: 1

Rep: Reputation: 34
Set default INPUT and OUTPUT policy to Reject.
Allow all traffic for local n/w to local n/w.
Allow traffic from local n/w [ source ] to Libray Server's IP [ destination ] for HTTP requests [ Output Chain ].
Allow trafiic from Library Server's IP [ source ] to local n/w [ destination ] for HTTP requests [ Input Chain ].

Find out iptables command for above and apply them.

~pratik
 
Old 05-24-2007, 01:27 AM   #3
torgeir.nes
LQ Newbie
 
Registered: May 2007
Posts: 3

Original Poster
Rep: Reputation: 0
thanks, I'll test this right away
 
  


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
DNS proxy w/filtering uselpa Linux - Software 2 01-14-2006 04:41 AM
web filtering thorugh a proxy jsmarshall85 General 4 12-16-2004 10:07 AM
Safesquid-Content Filtering Proxy Server davidwalton Linux - Software 1 10-15-2004 05:27 AM
Spam filtering usin proxy server. myutopia Linux - General 0 01-14-2004 01:38 PM
SMTP proxy for spam filtering todesengel Linux - Software 2 09-10-2003 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:20 AM.

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