Ребят, подскажите, что нет так в моих правилах:int_if="vr0"
ext_if="xl0"
ext_ip="10.0.39.36"
lannet = "192.168.130.0/24"
private_nets= "{ 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8, 169.254.0.0/16, 192.0.2.0/24, 0.0.0.0/8, 240.0.0.0/4
bsd = "192.168.130.139/32"
nat on $ext_if from 192.168.130.0/24 to any -> ($ext_if)
block in on $ext_if all
# Порты
client_ports = "{ 21, 22, 25, 110, 123, 80, 443, 3128, 3129, 3389,8080, >=49151 }"
admin_ports = "{ 5190, 33330:33340 }"
pbx_udp = "{ 2727, 4520, 4569, 5036, 5060, 10000:20000 }"
pbx_tcp = "{ 5060 }"
#------------------------------
# Нормализация
#------------------------------
102 set block-policy drop
104 set state-policy floating
106 set loginterface $ext_if
109 set limit { frags 100000, states 100000 }
111 set optimization normal
113 set skip on lo0
115 scrub in all
116 #------------------------------
117 # NAT & RDR
118 #------------------------------
120 nat on $ext_if inet from $lannet to any -> $ext_ip
122 rdr on $int_if proto tcp from $lannet to any port www -> 127.0.0.1 port 3129
124 rdr on $ext_if proto tcp from any to $ext_ip port www -> 127.0.0.1 port 80
126 rdr on $ext_if proto tcp from any to $ext_ip port 33330 -> 127.0.0.1 port 22
128 rdr on $ext_if proto tcp from any to $ext_ip port 21 -> 127.0.0.1 port 21
/etc/pf.conf:102: Rules must be in order: options, normalization, queueing, translation, filtering
/etc/pf.conf:106: Rules must be in order: options, normalization, queueing, translation, filtering
/etc/pf.conf:109: Rules must be in order: options, normalization, queueing, translation, filtering
/etc/pf.conf:111: Rules must be in order: options, normalization, queueing, translation, filtering
/etc/pf.conf:115: Rules must be in order: options, normalization, queueing, translation, filtering
/etc/pf.conf:120: Rules must be in order: options, normalization, queueing, translation, filtering
/etc/pf.conf:122: Rules must be in order: options, normalization, queueing, translation, filtering
/etc/pf.conf:124: Rules must be in order: options, normalization, queueing, translation, filtering
/etc/pf.conf:126: Rules must be in order: options, normalization, queueing, translation, filtering
/etc/pf.conf:128: Rules must be in order: options, normalization, queueing, translation, filtering
pfctl: Syntax error in config file: pf rules not loaded