LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   squid proxy,2 nics for 2 networks, problematic. (https://www.linuxquestions.org/questions/linux-networking-3/squid-proxy-2-nics-for-2-networks-problematic-526707/)

prowleritus 02-08-2007 06:59 AM

squid proxy,2 nics for 2 networks, problematic.
 
Hello!

Network 1:
NAT enabled
10.0.0.0
IP obtained by the box 10.0.0.4 (not reserved or static)

Network 2:
Public
62.80.39.0/24
Static IP for box 62.80.39.195

I want the proxy to accept connections from network 2 (62.80.39.0/24),
and forward the www requests out from network 1 (10.0.0.0),
nothing weird or suspicios has been found in the logs
but the connection times out when i perform a request through the proxy.

route -n shows:
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
62.80.39.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 62.80.39.195 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 10.0.0.2 0.0.0.0 UG 0 0 0 eth1

iptables is simply set up to allow the ports, tried flushing the tables too.

what should I do to make this work correctly?
Perhaps a point to the right direction.

I thank you in advance.

SnotRocket 02-11-2007 08:34 PM

Looks like you have two gateways. Is there a reason for this?

Can you browse the web from the proxy machine?


All times are GMT -5. The time now is 04:31 PM.