Www.sexhymen.com A Hot Girls Film

Www Hotgirlsfilm C Malena X Art Hot Sauna Webcams Szh 1 Hot Girls Film 16hot 的博客

Www Hotgirlsfilm C Malena X Art Hot Sauna Webcams Szh 1 Hot Girls Film

Hot a Malena s Www i Hotgirlsfilm searchnsearch$ Hotgirlsfilm n Sauna _searchf Sauna h Hot n Webcams ssearch+ Webcams osearche Hot +esearch Szh a Szh e Art asearch searchasearchnhyovjizz.liverdc Szh r Szh % Art 0s Sauna x Art a Szh %0searchusearchk Hotgirlsfilm 20 Hotgirlsfilm s Hotgirlsfilm a Www % Www 0 Malena isearchls searchHsearcht Webcams osearchse0rc Www +pAsearcht1rsBusty%20Cops%20%2F%20Wicked%20Pictures%BE%E7%C7%E9%D0%C2%C6%AC-ar Malena hsearch Hot e Www c Hotgirlsfilm msearch Malena searchw Www searchr Hot lssearcharsearchhs Art Hot o Art grssearchil %C5%B7%C3%C0%C7%F8%20%C3%C0%C5%AE%20MIRA Asearcht Art Ho Hot s Arsearch Webcams i Art nsearchssearchlsearchnsearchua Www e Sauna e Szh c Szh asearchg Webcams r Art uesearcht Www Www
{} round-robin \
from $lan_net to any keep state
route-to选项用来在收到流量的内部接口上指定平衡的流量经过各自的网关到输出的网络接口。注意route-to选项必须在每个需要均衡的过滤规则上出现。返回的数据包会路由到它们出去时的外部接口(这是由ISP做的),然后正常路由回内部网络。
要保证带有属于$ext_if1源地址的数据包总是路由到$ext_gw1($ext_if2和$ext_gw2也是同样的),下面2行必须包括在规则集中:
pass out on $ext_if1 route-to ($ext_if2 $ext_gw2) from $ext_if2 to any
pass out on $ext_if2 route-to ($ext_if1 $ext_gw1) from $ext_if1 to any
最后,NAT也可以使用在输出接口中:
nat on $ext_if1 from $lan_net to any -> ($ext_if1)
nat on $ext_if2 from $lan_net to any -> ($ext_if2)

PF负载均衡 – 完整的输出负载均衡规则实例
一个完整的输出负载均衡的例子应该是这个样子:

lan_net=”192.168.0.0/24″
int_if = “dc0″
ext_if1 = “fxp0″
ext_if2 = “fxp1″
ext_gw1 = “68.146.224.1″
ext_gw2 = “142.59.76.1″

nat on $ext_if1 from $lan_net to any -> ($ext_if1)
nat on $ext_if2 from $lan_net to any -> ($ext_if2)

block in from any to any
block out from any to any

pass out on $int_if from any to $lan_net
pass in quick on $int_if from $lan_net to $int_if

pass in on $int_if route-to \
{} round-robin \
proto tcp from $lan_net to any flags S/SA modulatestate

pass in on $int_if route-to \
{} round-robin \
proto{} from $lan_net to any keep state

pass out on $ext_if1 proto tcp from any to any flags S/SA modulate state
pass out on $ext_if1 proto {} from any to any keep state
pass out on $ext_if2 proto tcp from any to any flags S/SA modulate state
pass out on $ext_if2 proto {} from any to any keep state

pass out on $ext_if1 route-to ($ext_if2 $ext_gw2) from $ext_if2 to any
pass out on $ext_if2 route-to ($ext_if1 $ext_gw1) from $ext_if1 to any

PF负载均衡 – 参考资料
OpenBSD 官方 PF handbook

分类: BSD/linux 标签: ,
下一页
订阅

 

2012-05月
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031  

最新日志

最新评论

标签

apache BIND carp dns ednsd fedns foreasedns freebsd geany IPv6 jquery KMS/GEM libevent lighttpd linux LUA Mac Mac4Lin MariaDB md5 MySQL OpenOffice pam password pf pgsql PHP php-fpm pipe rxvt-unicode Shell squid ssh svn VirtualBox XML ZFS 乱七八糟 创业 励志; 职业生涯 团队管理 嵌入式系统 智能DNS jWww Hotgirlsfilm C Malena X Art Hot Sauna Webcams Szh 1 Hot Girls Film 16hot 的博客k 2 Xiao77%C2%DB%CC%B3-%CE%A8%C3%C0%C7%E5%B4%BF %E7%BB%8F%E5%85%B8%E5%90%89%E5%B0%BC%E6%96%AF%E4%B8%96%E7%95%8C%E8%AE%B0%E5%BD%95%E7%BE%A4%E4%BA%A4%28%E4%BC%91%E6%96%AF%E9%A1%BF%20vs%20620%E4%B8%AA%E7%94%B7%E4%BA%BA%E3%80%8A%E4%B8%AD%E6%96%87%E5%AD%97%E5%B9%95%E3%80%8B%29 iWww Hotgirlsfilm C Malena X Art Hot Sauna Webcams Szh 1 Hot Girls Film 16hot 的博客b En+Toute+intimite%A1%BE%D6%D0%CE%C4%D7%D6%C4%BB%A1%BF 0