LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 07: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, 07:35 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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



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 10:48 PM
squid for two subnets timdog28 Linux - Newbie 2 03-05-2007 09:03 AM
DHCP Server for several subnets Simon_Sez Linux - Software 5 12-30-2005 05:06 PM
Want to access samba-server from two subnets by name. pingu Linux - Networking 2 11-21-2005 02:28 AM
One DHCP server serving 2 subnets scng Linux - Networking 3 07-12-2005 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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