LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-08-2007, 06:59 AM   #1
prowleritus
LQ Newbie
 
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
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.
 
Old 02-11-2007, 08:34 PM   #2
SnotRocket
LQ Newbie
 
Registered: Jan 2007
Posts: 11

Rep: Reputation: 0
Looks like you have two gateways. Is there a reason for this?

Can you browse the web from the proxy machine?
 
  


Reply


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
How to Configure two NICs to set setup Squid proxy on RH linux 8.0 latencywala Red Hat 14 01-02-2009 05:01 AM
Squid Proxy Server Multiple Nics dansif Linux - Networking 6 11-28-2006 01:42 PM
2 nics, 2 networks help. chrisknight Linux - Networking 5 12-19-2004 01:21 PM
2 nics, 2 networks, 2 problemas kangaegoto Linux - Networking 1 12-19-2004 06:58 AM
2 nics and a squid proxy mssucks Linux - Networking 4 03-06-2002 04:29 AM

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

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