LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Adam Hawes <adam_hawes@dingoblue.net.au>
To : Andrew Galdes <galdes1@iprimus.com.au>
Linux SA <linuxsa@linuxsa.org.au>
Date: Sun, 24 Dec 2000 12:33:30 +1030
Re: internet shareing
> g'day all,
> i have mandrake 7.2 sharing its internet connection with a win machine. is
> there a way can limit the usage by each computer?
> cheers,
> andrew galdes
I'd dearly love to do this too. If you're brave there is a load
balancing NAT proxy thing that replaces the kernel firewall code.
Only problem is that it hasn't been ported to a version of the kernel
newer than what shipped with RH4.2.
You could set up things like Squid proxies and things and forcefully
limit the total number of connections each machine is allowed to make
throught the proxy. You'd also have to securely firewall the
gateway box because otherwise they _WILL_ work out how to
bypass the proxy and slow you down again. I have this trouble
all the time: 30+ connections to one server from one box. Problem
is that other users don't care that they're sharing bandwidth with
everyone else.. they see that 30 open connections gives then
(their 30) / (everyone else's cumulative 10 or so) = 3x the
speed of everyone else!
Freshmeat has a number of load balancing TCP proxies listed;
I searched for "balance" and found two good ones. "proxy"
will also get you a few. They are all very similar, but
vastly different to configure. I am in the process if getting
my gateway box to transparently proxy a number of services
(http, ftp, nntp) through their own limiting proxy so that I can
even things up here.
Essentially, these proxies accept connections from a machine,
and then open a connection to the outside world on behalf
of the machine. If you use an external proxy server (your ISP's)
you can simply configure a TCP proxy on port 8080 (or 80) to
connect to your ISP's proxy. The TCP proxy can count the number
of connections from each box, and there was even one that could
actually control bandwidth somewhat arbitrarily.
Cheers,
Adam
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page