Home News Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | PC for Firewall/Load Balancer

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Networking
Register FAQ Community Calendar

PC for Firewall/Load Balancer
Reply
 
Thread Tools
Old 01-01-2009, 15:47   #1
dragon
Inactive
 
Join Date: Jan 2004
Posts: 3,898
dragon has reached the bronze age
dragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze age
PC for Firewall/Load Balancer

I'm getting a 2nd Broadband connection

I can probably borrow a dual wan router to try (Draytek 2820) but if that doesn't balance the connections how I want it to (when I was playing with it seemed to send all traffic to the same destination over the same WAN even when multiple connections where used e.g Segmented HTTP/FTP, but it may be a configuration thing)

then I shall probably look into building a load balancer/firewall.

http://cgi.ebay.co.uk/Dell-Optiplex-...3A1|240%3A1318

Something like that would probably do it, as I believe it has 2 pci slots providing I can get some low profile NIC's (Most of them seem to be thesedays anyway it's finding the right brackets that would be more problematic)


Only thing that puts me off using a pc is the running costs.

I'd need to have the PC + 2 DSL modems + wireless AP running pretty much 24/7. Anyone know what that's likely to use in terms of power.

Also anyone care to comment on the spec of the machine, it would most likely be running pfsence.
dragon is offline   Reply With Quote
Advertisement
Old 01-01-2009, 15:54   #2
Kymmy
Inactive
 
Join Date: Dec 2007
Posts: 18,398
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Re: PC for Firewall/Load Balancer

As a webserver I used to run a win2k3 server, IIS6 but also ran Kerio winroute on it. Winroute can do everything you want (firewall, NAT, load balancing including AV and even bandwidth and site restricting) but only needs a 1Ghz PC so ideal for that old motherboard everyone has in the cupboard
Kymmy is offline   Reply With Quote
Old 01-01-2009, 16:05   #3
dragon
Inactive
 
Join Date: Jan 2004
Posts: 3,898
dragon has reached the bronze age
dragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze age
Re: PC for Firewall/Load Balancer

Quote:
Originally Posted by Kymmy View Post
As a webserver I used to run a win2k3 server, IIS6 but also ran Kerio winroute on it. Winroute can do everything you want (firewall, NAT, load balancing including AV and even bandwidth and site restricting) but only needs a 1Ghz PC so ideal for that old motherboard everyone has in the cupboard
The problem is the machine i have sitting around is either a PPC mac mini (Useless for this unless someone can find a PPC firewall distro + comapatable USB NIC's)

OR a Dual Althon MP 1600+ in a 4U case, which won't fit in the space I want to put it, could recase the board but the thing is a tad power hungry and not that stable either.
dragon is offline   Reply With Quote
Old 01-01-2009, 17:16   #4
webcrawler2050
Inactive
 
Join Date: Feb 2008
Location: Swindon
Services: TiVo 110MB BB Phone Line
Posts: 3,087
webcrawler2050 has reached the bronze age
webcrawler2050 has reached the bronze agewebcrawler2050 has reached the bronze agewebcrawler2050 has reached the bronze agewebcrawler2050 has reached the bronze agewebcrawler2050 has reached the bronze agewebcrawler2050 has reached the bronze agewebcrawler2050 has reached the bronze age
Send a message via MSN to webcrawler2050
Re: PC for Firewall/Load Balancer

Well. the power, shouldnt be an issue too much..

Our dell R200 (Rackmount) run at about 0.6AMps constantly, they use just short of 1AMP on boot.

Personally, to make this work "properly" you are going to need 3 PC / Servers to load balance, well, to get the true benefits from a load balancer.

There is a much simpler way of doing this.. I think..

Use your DSL Modem, slap a router / switch on the end. Saves the exspense of two modems etc.

For a webserver, I would never, ever, ever, touch Windows, its simply pants and the new version of Server 2008 will only allow for 64bit..

Personally and this is personally, I would slap A centos Distro on the machine(s) with Apache, works far superior.

Just my 2 cents worth..
webcrawler2050 is offline   Reply With Quote
Old 01-01-2009, 17:36   #5
dragon
Inactive
 
Join Date: Jan 2004
Posts: 3,898
dragon has reached the bronze age
dragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze age
Re: PC for Firewall/Load Balancer

Quote:
Originally Posted by webcrawler2050 View Post
Well. the power, shouldnt be an issue too much..

Our dell R200 (Rackmount) run at about 0.6AMps constantly, they use just short of 1AMP on boot.

Personally, to make this work "properly" you are going to need 3 PC / Servers to load balance, well, to get the true benefits from a load balancer.

There is a much simpler way of doing this.. I think..

Use your DSL Modem, slap a router / switch on the end. Saves the exspense of two modems etc.

For a webserver, I would never, ever, ever, touch Windows, its simply pants and the new version of Server 2008 will only allow for 64bit..

Personally and this is personally, I would slap A centos Distro on the machine(s) with Apache, works far superior.

Just my 2 cents worth..
Sorry i don't think I was clear enough with my orginal post, I'm not actually trying to load balance servers, I simply want to make use of 2 Internet connections so that on multithreaded apps I can boost my speeds and also if one of the lines drops sync failover to the other one

I simply used FTP/HTTP as an example type of traffic.

E.g I'd like when uploading with several connections between myself and the server for the Load balancer to relise that WAN1 has uploading at capacity and to also upload using WAN2.

What I found with the tests I was doing on the Draytek so far is that it once it had decided to use WAN2 for a specific desitnation becuase that was less busy but it seems that all traffic to that desitnation would then go over WAN2.

Mind you was only testing it with a small amount of traffic.
dragon is offline   Reply With Quote
Old 01-01-2009, 17:57   #6
Jon T
cf.mega poster
 
Join Date: Jun 2003
Location: Mansfield, Notts
Age: 44
Services: Virgin Media Telephone and 100Mb broadband, Sky Q
Posts: 1,996
Jon T has reached the bronze age
Jon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze age
Re: PC for Firewall/Load Balancer

Have a look at: http://www.endian.com/en/community/
Jon T is offline   Reply With Quote
Old 01-01-2009, 18:23   #7
dragon
Inactive
 
Join Date: Jan 2004
Posts: 3,898
dragon has reached the bronze age
dragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze age
Re: PC for Firewall/Load Balancer

Quote:
Originally Posted by Jon T View Post
Hmm looks interesting, thanks for the URL.

Just need something to run it on now
Although I may have a play around with it in a VM
dragon is offline   Reply With Quote
Old 14-01-2009, 17:25   #8
flamingeck
Inactive
 
Join Date: Jan 2008
Posts: 24
flamingeck is an unknown quantity at this point
Re: PC for Firewall/Load Balancer

Quote:
Originally Posted by webcrawler2050 View Post
Well. the power, shouldnt be an issue too much..

Our dell R200 (Rackmount) run at about 0.6AMps constantly, they use just short of 1AMP on boot.

Personally, to make this work "properly" you are going to need 3 PC / Servers to load balance, well, to get the true benefits from a load balancer.

There is a much simpler way of doing this.. I think..

Use your DSL Modem, slap a router / switch on the end. Saves the exspense of two modems etc.

For a webserver, I would never, ever, ever, touch Windows, its simply pants and the new version of Server 2008 will only allow for 64bit..

Personally and this is personally, I would slap A centos Distro on the machine(s) with Apache, works far superior.

Just my 2 cents worth..
I know it's only your opinion, but there is nothing wrong with IIS6 once it's correctly configured. As for 2008 only being 64bit is just utter rubbish.

To the OP, you'll prob find that there's some persistance on your MAC address that's keeping you to one WAN port.

I'd personnally look to do port specific load balancing, and enabling QoS.

Say one connection for port 80/443/53 etc... and another for the likes of downloading via torrent / webserve.

I don't think mutlitreaded applications will not benefit from dual wans anymore than a singletreaded application would. Threads are CPU related only.
flamingeck is offline   Reply With Quote
Old 14-01-2009, 19:42   #9
dragon
Inactive
 
Join Date: Jan 2004
Posts: 3,898
dragon has reached the bronze age
dragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze age
Re: PC for Firewall/Load Balancer

Quote:
Originally Posted by flamingeck View Post
I know it's only your opinion, but there is nothing wrong with IIS6 once it's correctly configured. As for 2008 only being 64bit is just utter rubbish.

To the OP, you'll prob find that there's some persistance on your MAC address that's keeping you to one WAN port.

I'd personnally look to do port specific load balancing, and enabling QoS.

Say one connection for port 80/443/53 etc... and another for the likes of downloading via torrent / webserve.

I don't think mutlitreaded applications will not benefit from dual wans anymore than a singletreaded application would. Threads are CPU related only.
Some download managers refer to each connection/segment as a thread, what I actually ment by multithreaded applications is software that uses more than 1 connection between the client and the server not applications that can run multiple threads on the cpu


I now have a dell Gx240 p4 1.6 with 256mb ram and a 4GB hdd (I had a 4gb and a 40gb ide drives spare and thought i'd try the 4gb as PFsense doesnt need much space) PFsense

It's not fully setup atm so no idea how it performs (fitted the HDD and installed pfsense but haven't gotten around to actually installing it in the network yet, will prob have to wait till the weekend for that to happen.

Then a couple weeks more till I can setup the load balancing (Line goes in next week but haven't even orderd the Broadband on it yet)
dragon is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:19.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.