[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PF and outgoing traffic
Hello,
how it works in Linux? Linux can manage incomming and outgoing
traffic (I have few experience with Linux, but my friend told me
that it works).
2. července 2003, 14:53:59, jste napsal(a):
TMB> I might be missing something here but you cannot manage how much traffic is
TMB> sent to you. By the way, Happy Canada Day OpenBSD
TMB> -----Original Message-----
TMB> From: Bc. Radek Krejca [mailto:radek@ceskedomeny.cz]
TMB> Sent: Wednesday, July 02, 2003 6:17 AM
TMB> To: misc@openbsd.org
TMB> Subject: PF and outgoing traffic
TMB> Hello,
TMB> i can manage outgoing traffic with PF in BSD 33 (altq), is it
TMB> possible?
TMB> I have 4 cards:
TMB> rl0 - ext
TMB> rl1, wi0, wi1 - int
TMB> Now I manage only incomming traffic with altq:
TMB> net_robert = "10.5.1.0/30"
TMB> net_milan = "10.5.2.0/30"
TMB> altq on wi0 bandwidth 100Mb cbq queue { dflt_wi0, robert, milan }
TMB> queue dflt_wi0 bandwidth 64Kb cbq(default)
TMB> queue robert bandwidth 64Kb
TMB> queue milan bandwidth 64Kb
TMB> nat on $ext_if from $net_robert to any -> ($ext_if)
TMB> nat on $ext_if from $net_milan to any -> ($ext_if)
TMB> pass out on wi0 from any to $net_robert keep state queue robert
TMB> pass out on wi0 from any to $net_milan keep state queue milan
TMB> and the same for other int_if.
TMB> Thanks Radek
--
Regards,
Bc. Radek Krejca
radek@ceskedomeny.cz
http://www.ceskedomeny.cz
http://www.skdomeny.com
http://www.starnet.cz