LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 02-07-2012, 04:06 AM   #1
kenchix1
LQ Newbie
 
Registered: Jul 2004
Posts: 8

Rep: Reputation: 0
Dual Wan Router with Squid


We have an RV402 router with dual WAN and wanted to use it for load balancing. My problem is how to setup the RV042 with squid proxy. Currently, our setup is transparent proxy with a single internet connection. (2 NICs)

Network - Squid Proxy - Internet Modem 1

What I'm thinking of is something like this :

Code:
 Internet1 Internet2
       |      |   
         RV042
           |   
         Switch
        |      |
    Network  Squid
The network, squid and RV042 are in the same switch.

Assuming the network is 192.168.1.0, the proxy is .1.3, so I put a static ip address at the RV042 as .1.4.

I used proxy squid transparent routing and routed the traffic to the RV042 (.1.4). (NAT/IPtables)

The internet connections has its own static IP addresses which I also encoded in the router.

I can ping both static internet address but can't access their gateways. (so no internet)

I can't understand why the (HTTP) request aren't redirected to the Internet.

I know I'm missing something here or doing it wrong, any ideas please ?

Thanks.

Last edited by kenchix1; 02-07-2012 at 04:09 AM.
 
Old 02-08-2012, 01:49 PM   #2
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS
Posts: 346

Rep: Reputation: 7
i have a better solution.see this link.i know it's farsi but you can figure it out.if you need any translation, do tell.
http://www.persianadmins.com/v2/arti...balancing.html
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to create a Linux Dual WAN Router familyman Linux - Networking 9 06-26-2011 12:52 AM
Dual WAN router with DHCP server vinchandran Linux - Newbie 2 08-16-2010 05:50 AM
configure pc to work as a dual wan router firdavs_abc Linux - Networking 2 04-02-2009 12:48 AM
linux dual wan proxy / router? whorsfall Linux - Networking 1 03-30-2008 03:41 PM
dual wan linux router basilwt Linux - Networking 5 05-25-2007 07:01 AM


All times are GMT -5. The time now is 08:36 AM.

Main Menu
 
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
Open Source Consulting | Domain Registration