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 12-26-2012, 07:33 AM   #1
akeka
Member
 
Registered: May 2012
Posts: 39

Rep: Reputation: Disabled
Need help with squid


Hi Gurus,

I want to ask about squid

Right now, I've server with squid installed and configured as transparent proxy

Everything are going as it should. User can browse internet and I can also set ACL so that only registered PC can use my proxy server

But tonight, I found very annoying thing

Non registered PC can still use my proxy server if they define another proxy at the browser

Is it possible to prevent such thing ?

Many thanks for your help
 
Old 12-26-2012, 10:54 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Please provide sufficient detail.

Through what ACL you are controlling registered PC ?

What you mean when you say " define another proxy at the browser"
 
Old 12-26-2012, 07:26 PM   #3
akeka
Member
 
Registered: May 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by vishesh View Post
Please provide sufficient detail.

Through what ACL you are controlling registered PC ?

What you mean when you say " define another proxy at the browser"
Hi vishesh, thank you for your reply and sorry for not giving information clear enough

I control the registered PC by their mac address

And what I mean with "define another proxy" was :

Because I define my squid as transparent, user don't have to define my proxy at the browser right ?

For example at IE : Tools - internet option - connections - lan settings - proxy server

Just set my squid server as the gateway

And the problem arise when the user define another proxy (ex. from proxy list website) at the browser and still can browse internet even if they mac doesn't registered

I hope I make my self clear right now
 
Old 12-26-2012, 10:09 PM   #4
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
I think you can disallow traffic coming from other PC for proxy. For example if your proxy port in 8080

iptables -I INPUT -s your proxy server ip -p tcp --dport 8080 -j ACCEPT
iptables -I INPUT -p tcp --dport 8080 -j DROP
 
Old 12-26-2012, 10:18 PM   #5
akeka
Member
 
Registered: May 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by vishesh View Post
I think you can disallow traffic coming from other PC for proxy. For example if your proxy port in 8080

iptables -I INPUT -s your proxy server ip -p tcp --dport 8080 -j ACCEPT
iptables -I INPUT -p tcp --dport 8080 -j DROP
I guess that might be worked, I'll try it when I came home

One more question, how if the other proxy use port 80 ?

Thanks
 
  


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
Howto connect SQUID box with Mikrotik and Log user’s original source ip in squid PPTP fruiz002 Linux - Networking 1 08-23-2012 06:17 AM
Howto connect SQUID box with Mikrotik and Log user’s original source ip in squid PPTP fruiz002 Linux - Networking 1 08-01-2012 02:26 AM
Squid Redirect specific domain to an Secondary (External) Squid Proxy Zxarr Linux - Server 2 04-20-2010 12:50 PM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard laxmantsharma Linux - Software 1 02-24-2009 06:02 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM

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

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