Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-04-2014, 12:18 PM
|
#1
|
LQ Newbie
Registered: Mar 2014
Posts: 5
Rep:
|
Firewall with load balancing feature
Hi Guys,
I need to setup a proxy/firewall that has some built in traffic statistics and useful reporting. I am looking at IPcop, pfSense, Clear OS etc....
The catch is that I need to load balance between 4 ADSL lines on the same box(I have a NIC with 4 ports). Any suggestions how I should go about this? Ideally one of the above mentioned proxy/firewalls have a build in feature to load balance between 4 NICs.
Thanks
Darkmode
|
|
|
03-04-2014, 03:15 PM
|
#2
|
Senior Member
Registered: Apr 2009
Posts: 1,893
Rep:
|
You can use bonding interface to load balance on 4 NIC. Most Linux distribution should support it.
|
|
|
03-04-2014, 03:24 PM
|
#3
|
Moderator
Registered: Mar 2008
Posts: 22,245
|
I can't find the page I was looking for most the bsd's have had that feature for quite some time. Pretty sure one or more of the choices you have has a web site page devoted to it. (I think)
Just to be sure, you want load balancing or possibly fail over too?
|
|
|
03-04-2014, 03:30 PM
|
#4
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
Without knowing more, its hard to give a specific answer.
You can do a search of 'broadband bonding' to find out how others have approached the issue.
|
|
|
03-06-2014, 08:49 AM
|
#5
|
LQ Newbie
Registered: Mar 2014
Posts: 5
Original Poster
Rep:
|
Thanks for the input guys.
Jefro: Not fail over, the current setup is 4 DSL lines that are load balanced with a tp-link load broadband load balancer. It doesn't work well,
I don't think the load balancing would be much of a problem. Probably 4 different route tables with equally weighted default routes should do the trick?
I am more curious about which proxy to use?
I'm considering just doing my own thing from scratch. Maybe squid with SARG? Is there anything else that provides nice reporting?
Thanks
|
|
|
03-06-2014, 08:55 AM
|
#6
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
Before i go into great detail about this,.. do you have a preference of what OS to use? If not, im going to explain in redhat(more people are likely to run into this article and be familiar with RH).. although in reality i would use OpenBSD.
That cool?
|
|
|
03-06-2014, 09:07 AM
|
#7
|
LQ Newbie
Registered: Mar 2014
Posts: 5
Original Poster
Rep:
|
I'm fairly new to the linux world and am currently using debian.
I don't mind you explaining in any distro, as long as I get the logic I'l manage.
Appreciate your help
|
|
|
03-06-2014, 07:50 PM
|
#9
|
Moderator
Registered: Mar 2008
Posts: 22,245
|
Might as well look at untangle as a choice.
https://doc.pfsense.org/index.php/Multi-WAN_2.0
For an example on pfsense.
The choices you have are common ones that a person might consider.
|
|
|
03-12-2014, 10:40 AM
|
#10
|
Member
Registered: May 2011
Location: Nottingham, UK
Distribution: Debian
Posts: 178
Rep:
|
As much as these are links to four different ISPs, your solution needs to ensure all packets from a connection go through the same link, else endless firewall problems will follow. This should be handled OK by bonding interfaces in balance-xor mode. Protocols which dynamically generate connections, like FTP and H.323 will likely break however in any scenario involving more advanced firewall inspection in the packet path.
It is probnably worth noting that even if you administer the remote end of all required connections, as would be the case with a mesh of remote offices and no access to the Internet outside, loadbalancing 4x 1Gbps interfaces will not give you 4Gbps speed - it will only allow more users to connect at 1Gbps without overloading the link.
|
|
|
All times are GMT -5. The time now is 07:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|