LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SQUID, two subnets in one server? (https://www.linuxquestions.org/questions/linux-networking-3/squid-two-subnets-in-one-server-714832/)

xoroz 03-27-2009 07:31 AM

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,

acid_kewpie 03-27-2009 07:35 AM

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.


All times are GMT -5. The time now is 09:21 PM.