LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-27-2009, 08:31 AM   #1
xoroz
LQ Newbie
 
Registered: Mar 2009
Location: Spain
Distribution: Debian4/Ubuntu 8.10
Posts: 1

Rep: Reputation: 0
SQUID, two subnets in one server?


I now have the current configuration

Debian 4 kernel 2.6.24 / Squid 3.0 (STABLE 10) / Webmin


IP LOCAL INTERNA: 172.31.0.2 (IN - LAN)
IP LOCAL EXTERNA: 10.10.10.156 (OUT - Internet)

<LAN> --- <e1|PROXY|e0>----<FIREWALL/ROUTER>---<INTERNET>

172.31.0.2:80 Redirect hasta Proxy Squid (Transparente)
10.10.10.156:9090 Proxy Squid

What I would like to know if it is posible is to add another LAN to that
configuration like:
LAN1 172.31.0.X
LAN2 192.168.3.X

<LAN1> --- <e1|PROXY|e0>----<FIREWALL/ROUTER>---<INTERNET>
<LAN2> --- <e2|PROXY|e0>----<FIREWALL/ROUTER>---<INTERNET>

Is that possible? Or should I just make a whole new server?


thx in advance,
 
Old 03-27-2009, 08:35 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Yes totally, just add it away. if you're not explicitly defining eth1 within the configs then you'd just add extra applicable ACL's to suit the new subnets.
 
  


Reply

Tags
squidproxy


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Two shared dhcpd subnets, how do I route the guest subnet to a web page or to squid? cmisip Linux - Networking 3 08-31-2008 11:48 PM
squid for two subnets timdog28 Linux - Newbie 2 03-05-2007 10:03 AM
DHCP Server for several subnets Simon_Sez Linux - Software 5 12-30-2005 06:06 PM
Want to access samba-server from two subnets by name. pingu Linux - Networking 2 11-21-2005 03:28 AM
One DHCP server serving 2 subnets scng Linux - Networking 3 07-12-2005 10:57 AM


All times are GMT -5. The time now is 02:00 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration