LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 07-30-2007, 04:22 PM   #1
blood_omen
Member
 
Registered: Apr 2004
Location: Canada
Distribution: OpenBSD 3.6, Slackware 10.1
Posts: 134

Rep: Reputation: 15
Multiple networks with Squid and OpenBSD


Greetings,

I just installed and configured squid-2.6.STABLE9-transparent-snmp on OBSD 4.1, this machine has only one network interface with just one IP address.

The squid server is up and running cuz when I configure the browsers on PC on my network segment, which is the same network segment squid is installed on everything works like a charm; however when I configure squid to cache for another network segment and I configure a PC on that network segment squid denies the access, even though in the ACL I configured it to allow that network segment.

Here I include part of the squid.conf file so perhaps somebody can get a better idea.
Code:
http_port 8080 transparent

# Custom settings for my company      
acl my_dir src 192.168.253.0/255.255.255.0
acl my_dir src 172.50.76.0/255.255.254.0

http_access allow my_dir
http_access deny all
The proxy IP addres is 192.168.253.11, if I go to a machine wich IP is...let say, 192.168.253.9 the proxy works great, now, if I go to a machine whose IP is 172.50.76.10 it get an access denied message.

Any help on this matter will be appreciated,

Have a good day everyone.
 
Old 08-07-2007, 06:42 AM   #2
gani
Member
 
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356

Rep: Reputation: 34
This is because you only have one physical network interface and I guess that you would need to add another one and the two assigned with its own IP segment.

Or experiment with OBSD's VLAN by reading vlan(4) and ifconfig(8).

-----
 
  


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
Multiple Wireless Networks zmanods Linux - Wireless Networking 2 02-22-2007 06:44 AM
DHCP with Multiple Networks srikanthrao_d Linux - Networking 8 12-16-2005 03:23 AM
squid.conf with different networks Ornery_Boy Linux - Networking 0 10-13-2005 11:22 AM
Squid+2 Networks+2 Gateways+same Machine?! pin_bk Linux - Networking 6 09-03-2005 02:22 PM
Multiple networks bonebrain Linux - Wireless Networking 3 11-17-2004 09:38 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

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