This commit is contained in:
gferg 2001-11-19 15:22:35 +00:00
parent 15e382d973
commit b79398de21
4 changed files with 12 additions and 7 deletions

View File

@ -567,7 +567,7 @@ FTP_PROXY=192.168.1.1:8080
</programlisting>
<para>You can make it work globally for all users, type <filename>man wget</filename>
to learn how.</para>
</sect>
</sect2>
<sect2>
<title>I set up my own SOCKS server listening on port 1080, and now I'm not able to connect to
any irc server.</title>
@ -580,6 +580,7 @@ some of the irc servers - it's because mostly they just check if SOCKS server is
that is connecting. In that case just reconfigure your SOCKS to work on a different port. You will also have to
reconfigure your LAN software to use a proper SOCKS server and port.</para>
</sect2>
<sect2>
<title>I don't like when Kazaa or Audiogalaxy is filling up all my upload bandwidth.</title>
<para>Indeed that can be painful, but it's simple to be solved.</para>
<para>Create a file called for example <filename>/etc/sysconfig/cbq/cbq-15.ppp</filename>.</para>
@ -600,7 +601,7 @@ RULE=,:41001
RULE=,:41030
</programlisting>
</sect2>
</sect2>
<sect2>
<title>My outgoing mail server is eating up all my bandwidth.</title>
<para>You can limit your SMTP, Postfix, Sendmail, or whatever, in a way similar to the question above.
Just change or add one rule:</para>
@ -610,16 +611,20 @@ RULE=,:25
<para>Moreover, if you have an SMTP server, you can force your local LAN users to use it,
even though they have set up their own SMTP servers to smtp.some.server! We'll do it in a
transparent way we did before with Squid.</para>
</sect2>
<sect2>
<title>Can I limit my own FTP or WWW server in a manner similar it is shown in the question above?</title>
<para>Generally you can, but usually these servers have got their own bandwidth limiting
configurations, so you will probably want to look into their documentation.</para>
</sect2>
<para>2.2.x Kernels</para>
<para>
<command>/sbin/ipchains -A input -s 192.168.1.1/24 -d ! 192.168.1.1 25 -p TCP -j REDIRECT 25</command>
</para>
<para>2.4.x Kernels</para>
<para>
<command>/sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 25
-j REDIRECT --to-port 25</command>
</para>
<para>Don't forget to add a proper line to your initializing scripts.</para>
</sect2>
<sect2>
@ -667,7 +672,7 @@ it again, let's say at 7.30 am, to use delay pools.</para>
<filename>squid.conf-day</filename> and <filename>squid.conf-night</filename>, and put them into
<filename>/opt/squid/etc/</filename>.</para>
<para><filename>squid.conf-day</filename> would be the exact copy of a config we created earlier</para>
<para><filename>squid.conf-night<filename>, on the contrary, would not have any delay pool lines, so
<para><filename>squid.conf-night</filename>, on the contrary, would not have any delay pool lines, so
all you have to do is to comment them out.</para>
<para>Next thing you have to do is to set up <filename>/etc/crontab</filename> entries correctly.</para>
<para>Edit <filename>/etc/crontab</filename> and put the following lines there:</para>

View File

@ -890,7 +890,7 @@ and client). </Para>
Bandwidth-Limiting-HOWTO</ULink>,
<CiteTitle>Bandwidth Limiting HOWTO</CiteTitle>
</Para><Para>
<CiteTitle>Updated: May 2001</CiteTitle>.
<CiteTitle>Updated: November 2001</CiteTitle>.
Describes how to set up your Linux server to limit download bandwidth
or incoming traffic, and how to use your internet link
more efficiently. </Para>

View File

@ -202,7 +202,7 @@ protocol utilized by Amateur Radio Operators worldwide. </Para>
Bandwidth-Limiting-HOWTO</ULink>,
<CiteTitle>Bandwidth Limiting HOWTO</CiteTitle>
</Para><Para>
<CiteTitle>Updated: May 2001</CiteTitle>.
<CiteTitle>Updated: November 2001</CiteTitle>.
Describes how to set up your Linux server to limit download bandwidth
or incoming traffic, and how to use your internet link
more efficiently. </Para>

View File

@ -54,7 +54,7 @@ the Linux Networking Kernel or more specifically kernel releases
Bandwidth-Limiting-HOWTO</ULink>,
<CiteTitle>Bandwidth Limiting HOWTO</CiteTitle>
</Para><Para>
<CiteTitle>Updated: May 2001</CiteTitle>.
<CiteTitle>Updated: November 2001</CiteTitle>.
Describes how to set up your Linux server to limit download bandwidth
or incoming traffic, and how to use your internet link
more efficiently. </Para>