[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PF and outgoing traffic
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: PF and outgoing traffic
- From: "Bc. Radek Krejca" <radek_(_at_)_ceskedomeny_(_dot_)_cz>
- Date: Wed, 2 Jul 2003 12:16:38 +0200
- Organization: Starnet, s. r. o.
- Reply-to: "Bc. Radek Krejca" <radek_(_at_)_ceskedomeny_(_dot_)_cz>
Hello,
i can manage outgoing traffic with PF in BSD 33 (altq), is it
possible?
I have 4 cards:
rl0 - ext
rl1, wi0, wi1 - int
Now I manage only incomming traffic with altq:
net_robert = "10.5.1.0/30"
net_milan = "10.5.2.0/30"
altq on wi0 bandwidth 100Mb cbq queue { dflt_wi0, robert, milan }
queue dflt_wi0 bandwidth 64Kb cbq(default)
queue robert bandwidth 64Kb
queue milan bandwidth 64Kb
nat on $ext_if from $net_robert to any -> ($ext_if)
nat on $ext_if from $net_milan to any -> ($ext_if)
pass out on wi0 from any to $net_robert keep state queue robert
pass out on wi0 from any to $net_milan keep state queue milan
and the same for other int_if.
Thanks Radek
--
Regards,
Bc. Radek Krejca
radek_(_at_)_ceskedomeny_(_dot_)_cz
http://www.ceskedomeny.cz
http://www.skdomeny.com
http://www.starnet.cz
Visit your host, monkey.org