Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 1999 13:49:21 +0000
From:      Stuart Henderson <stuart@eclipse.net.uk>
To:        "Andrew A.Karjagin" <Andrew.Karjagin@tdis.gctc.rssi.ru>
Cc:        "isp@FreeBSD.ORG" <freebsd-isp@FreeBSD.ORG>
Subject:   Re: Auth and Count LAN users
Message-ID:  <36D554E1.1F8A5EE3@eclipse.net.uk>
References:  <36D4E399.5E8E3CF8@tdis.gctc.rssi.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
> How can I administrate them (allow/deny access to outside Internet,
> count outside incoming traffic of each user and so on)? What programs
> are designed for it? Can I do it without a Cisco or not?

You don't need a Cisco. Compile a kernel with IPFIREWALL and look at the
manpage for ipfw. Output of the "ipfw sho" looks like this:

08888  1771767  218918444 allow tcp from any to 195.188.32.32 8080
09999  3645718 1768146785 allow tcp from 195.188.32.32 to any

first number is the rule number, second is number of packets, third is
number of bytes. If you use a newer freebsd, you can use the ipfw with
the "dummynet" addons to restrict traffic to a certain bandwidth as
well.

HTH  Stuart


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36D554E1.1F8A5EE3>