Jump to content


Photo
- - - - -

Building firewall/router from old PC. Can I get some advice?


  • Please log in to reply
9 replies to this topic

#1 helium_biscuit

helium_biscuit

    New Member

  • Members
  • 20 posts

Posted 08 July 2014 - 03:17 PM

I have an old Dell Optiplex gx280d that has one built-in ethernet adapter. I want to put a second (wireless) NIC on and then put pfSense or IPFire on it or something.

I know a firewall more powerful than an average consumer router is kind of unnecessary,
 
I'm actually building it for 3 reasons:
1. To learn,
2. for filtering advertisements/spam/distasteful sites
3. to setup an always on VPN connection (on a service similar, but superior to HideMyAss) so that I can switch from a direct connection to the internet (the wifi of my first router, courtesy of Comcast) to a connection that goes through a VPN on the wifi of my new firewall/router, without having to log out and login every time I restart my PC, or for use if need a direct connection for some reason (for gaming for example). I.e. I'll just switch my wireless network.

My questions are:

1. Will the 2 networks significantly interfere with each other?
2. How can I mitigate the interference?
3. What else should I know before doing this???

Thanks!

Edited by helium_biscuit, 08 July 2014 - 03:23 PM.


#2 Nerm

Nerm

    OCC Beefcake

  • Forum Admin
  • PipPipPipPipPipPip
  • 9685 posts
  • Gender:Male
  • Location:Madison, IN

Posted 09 July 2014 - 05:03 AM

Mikrotik or Untangle would be much better OS options for a project like this. I am having trouble understanding exactly what it is you are trying to do with step three.

 

1. Will the 2 networks significantly interfere with each other? Depends on how you set it up.
2. How can I mitigate the interference? Shouldn't need to if setup correctly.
3. What else should I know before doing this??? Hard to answer this one when I am still not sure what it is you are trying to accomplish.


Rig #1 :: Q6600 @ 3.8Ghz :: 2x HD4850 Crossfire :: Asus P5K3 Premium Black Pearl ::

Rig #2 :: i7-3930K @ 4Ghz :: 32GB G.Skill Ripjaws Z Series :: Evga GTX 670 :: Asus P9X79 Pro :: OCZ Vertex 256GB SSD ::
HTPC :: 4850e :: HD2600xt :: Gigabyte GA-MA78GM-S2H :: 1TB Storage ::
OCC Site Rules :: Site Help FAQ :: Extreme Cooling FAQ :: OCC Benchmark Team


#3 cchalogamer

cchalogamer

    Folding is good :)

  • Folding Member
  • 4670 posts
  • Gender:Male
  • Location:NC (USA)

Posted 09 July 2014 - 11:03 AM

I fully agree with what Nerm said above, but if I'm entirely honest, the best advice I can give you with using that PC for a router is don't.

 

Best case it has a weak Pentium 4 that gets out classed by cheap off the shelf routers in performance while using far more power to do so.  If you have ANY plans of running this thing 24/7 your best first move would be to get some energy efficient hardware.  Something like AMD's new AM1 platform would be cheap and use CONSIDERABLY less power AND be much faster than the P4/Pentium D.

 

Otherwise building your own firewall/router can be fun, I personally bought a dual core Atom mini ITX board a few years back for the same purpose and while I'm currently using an off the shelf router I have plans to revisit that idea with newer hardware once this router starts giving issues (I usually kill one every year or two :D


Edited by cchalogamer, 09 July 2014 - 11:03 AM.

1zdcjtx.png

i7-4930K/GA-X79-UP4/32GB G.Skill & Team Vulcan Mixed/240GB Seagate 600 SSD/3TB/R9 290X/Rosewill Capstone 750 (main rig)

i7-4770K/GA-Z87X-UD5H/16GB ADATA/240GB Seagate 600 SSD/3TB/2 x 1TB RAID 1/1.5TB/GTX 770/GTX 670/Rosewill Capstone 750-M (secondary location main rig)

i7-4810MQ/Sager N8258-S/16GB/120GB mSATA/2 x 1TB/GTX 880M/180W AC Adapter w/8 cell battery (gaming laptop)

i5-4300Y/Dell Venue 11 Pro/8GB/256GB/Intel HD 4200 (GT2)/25W Ac Adapter w/removable 2 cell battery (Win 8 Pro Tablet)

i5-3570K/GA-Z77X-UD5H/16GB Kingston HyperX/500GB/3 x 2TB/2 x 320GB RAID 1/Antec BP550 (server)


#4 helium_biscuit

helium_biscuit

    New Member

  • Members
  • 20 posts

Posted 09 July 2014 - 12:58 PM

I fully agree with what Nerm said above, but if I'm entirely honest, the best advice I can give you with using that PC for a router is don't.

 

Best case it has a weak Pentium 4 that gets out classed by cheap off the shelf routers in performance while using far more power to do so.  If you have ANY plans of running this thing 24/7 your best first move would be to get some energy efficient hardware.  Something like AMD's new AM1 platform would be cheap and use CONSIDERABLY less power AND be much faster than the P4/Pentium D.

 

Otherwise building your own firewall/router can be fun, I personally bought a dual core Atom mini ITX board a few years back for the same purpose and while I'm currently using an off the shelf router I have plans to revisit that idea with newer hardware once this router starts giving issues (I usually kill one every year or two :D

Thanks for your reply.

 

Energy use is not an issue, it's included with my rent (free). However, I don't have a lot of $$$ and all i need is a $20 wireless nic to make this thing complete. I got this spare computer for $50. I don't think I could get a cheaper system anywhere else.

 

Would you still recommend other hardware, after considering the info I just mentioned?



#5 helium_biscuit

helium_biscuit

    New Member

  • Members
  • 20 posts

Posted 09 July 2014 - 01:00 PM

Mikrotik or Untangle would be much better OS options for a project like this. I am having trouble understanding exactly what it is you are trying to do with step three.

 

1. Will the 2 networks significantly interfere with each other? Depends on how you set it up.
2. How can I mitigate the interference? Shouldn't need to if setup correctly.
3. What else should I know before doing this??? Hard to answer this one when I am still not sure what it is you are trying to accomplish.

Thanks for the reply.

 

Why specifically do you think those would better serve my purposes?



#6 helium_biscuit

helium_biscuit

    New Member

  • Members
  • 20 posts

Posted 09 July 2014 - 01:24 PM

3. What else should I know before doing this??? Hard to answer this one when I am still not sure what it is you are trying to accomplish.

 

What do you mean??? I listed the 3 reasons for doing this before asking the 3 questions.


Edited by helium_biscuit, 09 July 2014 - 01:25 PM.


#7 Waco

Waco

    Lab Rat 2

  • Reviewer
  • PipPipPipPipPipPipPipPip
  • 15303 posts
  • Gender:Male
  • Location:Los Alamos, NM

Posted 09 July 2014 - 06:06 PM

As long as you take care to set the wireless channel differently between the two access points (or leave them on auto and let them sort it out) they won't interfere too much.

Without knowing much about dedicated router/firewall OSes, pfSense would be what I would go with after a few minutes of research.

Posted Image

Booyah.


#8 GENERALCHAOS

GENERALCHAOS

    Member

  • Members
  • PipPip
  • 186 posts
  • Gender:Male

Posted 09 July 2014 - 08:41 PM

Read up on it first this may or may not work for you 

Good luck http://www.untangle.com/ 

 

 

 

 

 

 

I have an old Dell Optiplex gx280d that has one built-in ethernet adapter. I want to put a second (wireless) NIC on and then put pfSense or IPFire on it or something.

I know a firewall more powerful than an average consumer router is kind of unnecessary,
 
I'm actually building it for 3 reasons:
1. To learn,
2. for filtering advertisements/spam/distasteful sites
3. to setup an always on VPN connection (on a service similar, but superior to HideMyAss) so that I can switch from a direct connection to the internet (the wifi of my first router, courtesy of Comcast) to a connection that goes through a VPN on the wifi of my new firewall/router, without having to log out and login every time I restart my PC, or for use if need a direct connection for some reason (for gaming for example). I.e. I'll just switch my wireless network.

My questions are:

1. Will the 2 networks significantly interfere with each other?
2. How can I mitigate the interference?
3. What else should I know before doing this???

Thanks!

 


7y18vt.png
RIG1: CPU:  On Rig 2 . Motherboard: MSI FM2 A85XMA E35 . RAM:  On rig2 . GPU Sapphire HD 7790 1GB Storage: Boot 50gb SSD / Western digital 320GB. Chassis:  Fractal Define R4 . Cooling: Kuhler 920  Cooler KIA . PSU: Antec HCP-1000 . Display:  Orion 24" LED tv . Audio: N/A. Keyboard: 1999 IBM. Mouse: Thermal Take 2007. OS: Linux Ubuntu 12.0

 

My sister RIG2: CPU:  AMD A10 6800K  3.9GHz. Motherboard: Gigabyte GA-F2A85X-UP4 . RAM:  AMD RP PC14900 DDR3 1866 2X4GB. GPU APU 1GB Storage: Boot 50gb SSD Chassis:  Antec P280 . Cooling: amd COOLER. PSU: Fractal Tesla . Display:  DELL 24" . Audio: N/A. Keyboard: hp low profile . Mouse: Mirosoft. OS: Linux Zorin OS 6

 

 

 


#9 GENERALCHAOS

GENERALCHAOS

    Member

  • Members
  • PipPip
  • 186 posts
  • Gender:Male

Posted 09 July 2014 - 09:53 PM


7y18vt.png
RIG1: CPU:  On Rig 2 . Motherboard: MSI FM2 A85XMA E35 . RAM:  On rig2 . GPU Sapphire HD 7790 1GB Storage: Boot 50gb SSD / Western digital 320GB. Chassis:  Fractal Define R4 . Cooling: Kuhler 920  Cooler KIA . PSU: Antec HCP-1000 . Display:  Orion 24" LED tv . Audio: N/A. Keyboard: 1999 IBM. Mouse: Thermal Take 2007. OS: Linux Ubuntu 12.0

 

My sister RIG2: CPU:  AMD A10 6800K  3.9GHz. Motherboard: Gigabyte GA-F2A85X-UP4 . RAM:  AMD RP PC14900 DDR3 1866 2X4GB. GPU APU 1GB Storage: Boot 50gb SSD Chassis:  Antec P280 . Cooling: amd COOLER. PSU: Fractal Tesla . Display:  DELL 24" . Audio: N/A. Keyboard: hp low profile . Mouse: Mirosoft. OS: Linux Zorin OS 6

 

 

 


#10 Nerm

Nerm

    OCC Beefcake

  • Forum Admin
  • PipPipPipPipPipPip
  • 9685 posts
  • Gender:Male
  • Location:Madison, IN

Posted 10 July 2014 - 05:02 AM

 

Mikrotik or Untangle would be much better OS options for a project like this. I am having trouble understanding exactly what it is you are trying to do with step three.

 

1. Will the 2 networks significantly interfere with each other? Depends on how you set it up.
2. How can I mitigate the interference? Shouldn't need to if setup correctly.
3. What else should I know before doing this??? Hard to answer this one when I am still not sure what it is you are trying to accomplish.

Thanks for the reply.

 

Why specifically do you think those would better serve my purposes?

 

 

Don't get me wrong I am sure pfsense or ipfire would both handle your needs. RouterOS from Mikrotik and Untangle are both just more powerful and scalable than the other two.

 

 

3. What else should I know before doing this??? Hard to answer this one when I am still not sure what it is you are trying to accomplish.

 

What do you mean??? I listed the 3 reasons for doing this before asking the 3 questions.

 

 

After reading your original post I think I understand a little better what you are wanting to do. Reason 3 I had to read multiple times as it was a little hard to follow for me. Still telling you what else you should know before starting is hard to answer as I have no idea where your level of networking knowledge is and your prior experience. If you have no experience in networking then there is a lot you need to know and I would recommend you do a good bit of reading on the fundamentals of networking before starting any network project. Computer Networks and Networking Essentials are both excellent beginner books.


Rig #1 :: Q6600 @ 3.8Ghz :: 2x HD4850 Crossfire :: Asus P5K3 Premium Black Pearl ::

Rig #2 :: i7-3930K @ 4Ghz :: 32GB G.Skill Ripjaws Z Series :: Evga GTX 670 :: Asus P9X79 Pro :: OCZ Vertex 256GB SSD ::
HTPC :: 4850e :: HD2600xt :: Gigabyte GA-MA78GM-S2H :: 1TB Storage ::
OCC Site Rules :: Site Help FAQ :: Extreme Cooling FAQ :: OCC Benchmark Team