ext_if="xl0" int_if="fxp0" ####################################################### # queueing ####################################################### altq on $int_if cbq bandwidth 100% queue { shohrukh_in, std_in } queue std_in bandwidth 600Kb cbq(default) queue shohrukh_in bandwidth 100Kb ####################################################### # end ####################################################### nat on $ext_if from !($ext_if) -> ($ext_if:0) block on { $ext_if, $int_if } all pass out on $ext_if from ($ext_if) to any keep state pass in on $int_if from 192.168.0.0/24 keep state pass out on $int_if from any to 192.168.0.0/24 keep state # 192.168.0.16 - shohrukh ip address pass out on $int_if from any to 192.168.0.16 keep state queue shohrukh_in