LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-14-2006, 09:47 PM   #31
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380

Quote:
Originally Posted by AQG
win32sux thanks what you told me was correct my problem was my firewall.
hehe, it's all good - i'm glad you got it working...

everything running smoothly??
 
Old 08-15-2006, 04:40 PM   #32
AQG
Member
 
Registered: Jun 2005
Distribution: SuSE, Red Hat
Posts: 162

Original Poster
Rep: Reputation: 30
yup thanks it's working great
but what opinion can you give me of the question on my previous post?

Last edited by AQG; 08-15-2006 at 04:41 PM.
 
Old 08-17-2006, 01:09 PM   #33
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by AQG
yup thanks it's working great
but what opinion can you give me of the question on my previous post?
Quote:
Originally Posted by AQG
question: could it be possible that if i put my proxy connected to the very last switch/router of my net (the last one of my net before it goes out to internet) that my proxy will filter all my MAC's.
MACs don't get routed, so unless you do your VLAN magic, i would think this wouldn't work...
 
Old 08-17-2006, 02:43 PM   #34
AQG
Member
 
Registered: Jun 2005
Distribution: SuSE, Red Hat
Posts: 162

Original Poster
Rep: Reputation: 30
Well i'm not a magician jeje, so what can you suggest for my problem?
 
Old 08-17-2006, 07:26 PM   #35
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by AQG
Well i'm not a magician jeje, so what can you suggest for my problem?
i would think about running a DHCP daemon for each LAN on each of the routers...
 
Old 08-31-2006, 10:13 AM   #36
AQG
Member
 
Registered: Jun 2005
Distribution: SuSE, Red Hat
Posts: 162

Original Poster
Rep: Reputation: 30
Thank you people you've been of great help.
Finally got it working using 3 Dual NIC's, one for each VLAN. This way my proxy knows the MAC's from each VLAN. I wish there was a better way to do this. but any way it's working.


Thank you Again.



acl QUERY urlpath_regex cgi-bin \?

no_cache deny QUERY

acl all src 0.0.0.0/0.0.0.0
acl proxysuse src 127.0.0.1/255.255.255.255
acl manager proto http cache_object

acl full_access_mac arp "/etc/squid/macfree"

acl restricted_access url_regex "/etc/squid/notfree"
acl permited url_regex "/etc/squid/web_pages"

http_access allow myproxy
http_access deny restricted_access
http_access allow full_access_mac !restricted_access
http_reply_access allow all
http_access deny all


icp_access allow proxysuse
icp_access allow full_access_mac
icp_access allow restricted_access
icp_access allow permited

icp_access deny all

http_port 8080
http_port 3128

cache_mem 256 MB
cache_dir ufs /var/cache/squid 800 16 256

cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log

visible_hostname myproxy
 
  


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
Squid User Restriction ajkannan83 Linux - Software 2 06-29-2006 04:41 AM
Web Restriction using Squid Ahmad Gurchani Linux - General 1 03-07-2005 02:18 AM
squid download restriction nithin_bhaskar Linux - Networking 1 09-01-2004 10:14 AM
Mac address restriction PcHammer Linux - Networking 4 12-31-2003 02:22 AM
Squid user restriction andresurzagasti Linux - Networking 1 02-01-2003 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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