LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-26-2010, 04:52 AM   #1
Meabert
Member
 
Registered: Nov 2005
Distribution: Fedora Core 13
Posts: 31

Rep: Reputation: 15
fedora as a router to limit bandwidth


Hello,

So I have a basic knowledge of Fedora, I have a LAMP stack on my box and I was wondering how to setup a router? My roomate is using too much bandwidth on his Nextflix, what's the best way to do this?
 
Old 10-26-2010, 05:33 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Hi,

Have two LAN cards in your system.One connected to your ISP and second one you use for internet sharing(Local Lan).Connect the output of second LAN to switch and you get internet shared.


Squid as transparent proxy:
http://www.cyberciti.biz/tips/linux-...uid-howto.html
http://www.unixmen.com/linux-tutoria...ree-easy-steps


Now configure squid for bandwidth throttling.

http://www.enterpriseitplanet.com/ne...d-Proxying.htm
 
1 members found this post helpful.
Old 10-27-2010, 03:53 PM   #3
Meabert
Member
 
Registered: Nov 2005
Distribution: Fedora Core 13
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by prayag_pjs View Post
Hi,

Have two LAN cards in your system.One connected to your ISP and second one you use for internet sharing(Local Lan).Connect the output of second LAN to switch and you get internet shared.


Squid as transparent proxy:
http://www.cyberciti.biz/tips/linux-...uid-howto.html
http://www.unixmen.com/linux-tutoria...ree-easy-steps


Now configure squid for bandwidth throttling.

http://www.enterpriseitplanet.com/ne...d-Proxying.htm
One shot answer! Thank you very much!
 
Old 10-27-2010, 04:26 PM   #4
falcom
Member
 
Registered: May 2009
Posts: 102

Rep: Reputation: 13
remember in delay pools over squid you have only control over downloads trafic and not over uploads trafic, be careful
if you need something serius search about: CBQ or HTB or Prometheus !!
 
Old 10-29-2010, 03:45 PM   #5
Meabert
Member
 
Registered: Nov 2005
Distribution: Fedora Core 13
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by falcom View Post
remember in delay pools over squid you have only control over downloads trafic and not over uploads trafic, be careful
if you need something serius search about: CBQ or HTB or Prometheus !!
Well my roommate has Netflix, I've tried QoS and that didn't seem to work very well so... What do you suggest?
 
Old 10-29-2010, 09:27 PM   #6
falcom
Member
 
Registered: May 2009
Posts: 102

Rep: Reputation: 13
Quote:
Originally Posted by Meabert View Post
Well my roommate has Netflix, I've tried QoS and that didn't seem to work very well so... What do you suggest?
well i use htb-gen is the best for small bussines check this
http://www.ecualug.org/2007/08/22/co..._usando_htbgen
works very fine to stop control of my bandwidth for upload and downloads!
 
  


Reply



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
Limit Bandwidth as Data Volume Approaches Limit sweno Linux - Server 1 06-12-2008 07:10 AM
Bandwidth limit marius_vl Linux - Networking 1 06-20-2006 08:04 AM
bandwidth limit matrix_x Linux - Networking 1 12-05-2005 04:54 PM
Vsftpd - how to limit download bandwidth but unlimited upload bandwidth? mpls mikeg Linux - Software 3 08-13-2005 01:52 PM
limit bandwidth control router linux saavik Linux - Networking 5 02-24-2004 10:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:00 AM.

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