Forum Home
Press F1
 
Thread ID: 38975 2003-10-23 13:02:00 In anticipation of ADSL - Restricting access to users with a Linux Gateway Chilling_Silently (228) Press F1
Post ID Timestamp Content User
185968 2003-10-23 13:02:00 Ive finally signed up for JetStream Starter and have a Router on the way...

Im going to be running my setup something like this:

-------
Router
--------
|
|
|
-------
My PC
-------
|
|
|
-------
Switch
-------
|
|
|
------
Family's PC and other PC's I throw on the LAN


My PC is currently running Slackware 9.1 with Squid 2.5 and VSFTPD 1.2.1.
Im wanting to try and limit to some degree the way the rest of the network can download. The rest of the family understand Im doing this, and my reasons why, and arent complaining, seeing as im paying for ADSL.

Is it possible to throttle certain ports, or traffic to certain IP's (like the family PC's IP), or just limit the over-all amount that's able to be downloaded by each user?

Im sure there's a MySQL Plugin (Which I might have on this box... I did a complete install) for Squid which can limit data, but the thing is that use of the Proxy ATM is optional... So how would I set my PC to route ALL traffic through the proxy first if I went with the MySQL plugin?

Many thanks


A very eager Chill.
Chilling_Silently (228)
185969 2003-10-23 22:16:00 How about:
------
WAN
------
|
-------------
Router
------------
|
|
------------------
Old Linux Box. Smoothwall?
------------------
|
|
----------
Switch
------------------------------------------
| |
| |
| |
--------------------------------------------------------------
Family PC - CHills PC (Permissions on Linux Box)
--------------------------------------------------------------

What ya reakon?

Cheers Murray P
Murray P (44)
185970 2003-10-23 22:35:00 Coz the only "Old box" that I have is a P300 with 256MB RAM... And that I'm going to be putting Linux on and throwing in one of the younger sibblings room for them to do their homework/surfing on.

The question still remains though: Even if i use linux on an old box, how can I restrict speed/download amounts to a certain user/IP?
Chilling_Silently (228)
185971 2003-10-24 00:10:00 Hi Chill. Haven't done a full read of this (http://www.squid-cache.org/) but it does have usage control including time.

Cheers Murray P
Murray P (44)
185972 2003-10-24 02:14:00 The full manual for squid is downloadable ... "squid manual linux' to google gets the link first time. That explains what each of the 190 options do. :D Graham L (2)
185973 2003-10-24 02:30:00 Yeah.. Im already running Squid.. So you reakon use that to do it?

*I feel a lot of reading coming on tonight :-(*

Has anybody got a specific URL I can take a look at for those who've done it before? (Just to save me a few hours reading un-neccesary stuff)

Cheers


Chill.
Chilling_Silently (228)
185974 2003-10-24 06:08:00 Good to see you've jumped on the adsl bandwaggon there Chill, but I'm betting you'll be kicking yourself in a few months time when you want to fork out extra money for woosh ;) What router did you opt for in the end?

With my RTA300 router, I don't have to worry about the other people on the lan stealing all the bandwidth, because it give high priority to my P2P traffic ]:) :D. Besides if they are only surfing a few webpages, then there is practically no slowdown because they are only requesting small amounts of data in short bursts. Just make sure they don't start downloading stuff with kazaa and you should be fine.
PoWa (203)
185975 2003-10-24 09:29:00 But that's the point, I dont want to have to monitor them installing things like KaZaA, WinMX, or whatever.... Chilling_Silently (228)
1