cancel
Showing results for 
Search instead for 
Did you mean: 

IPFilter troubles

Dmitryi Anosov
Frequent Advisor

IPFilter troubles

Hi,friends.

I have some issue: then i start ipfilter, all connections is reset.
Here my ipf.conf:

block in from any to any
block out from any to any
pass in quick on lan0 from 10.1.1.185 to any
pass out quick on lan0 from any to 10.1.1.185
pass in quick on lan0 from 192.168.47.0/24 to any
pass out quick on lan0 from any to 192.168.47.0/24
pass in quick on lan0 from 192.168.97.13 to any
pass out quick on lan0 from any to 192.168.97.13
pass in quick on lan0 from 10.1.1.45 to any
pass out quick on lan0 from any to 10.1.1.45
pass in quick on lan0 from 10.1.1.81 to any
pass out quick on lan0 from any to 10.1.1.81
pass in quick on lan0 from 10.1.1.181 to any
pass out quick on lan0 from any to 10.1.1.181
pass in quick on lan0 from 10.1.1.83 to any
pass out quick on lan0 from any to 10.1.1.83
pass in quick on lan0 from 10.1.1.87 to any
pass out quick on lan0 from any to 10.1.1.87
pass in quick on lan0 from 10.1.1.92 to any
pass out quick on lan0 from any to 10.1.1.92
pass in quick on lan0 from 10.1.1.126 to any
pass out quick on lan0 from any to 10.1.1.126
pass in quick on lan0 from 10.1.1.127 to any
pass out quick on lan0 from any to 10.1.1.127
pass in quick on lan0 from 10.1.1.145 to any
pass out quick on lan0 from any to 10.1.1.145
pass in quick on lan0 from 192.168.47.21 to any
pass out quick on lan0 from any to 192.168.47.21
pass in quick on lan0 from 192.168.87.223 to any
pass out quick on lan0 from any to 192.168.87.223
pass in quick on lan0 from 192.168.97.1 to any
pass out quick on lan0 from any to 192.168.97.1
pass in quick on lan0 from 192.168.97.26 to any
pass out quick on lan0 from any to 192.168.97.26
pass in quick on lan0 from 192.168.97.40 to any
pass out quick on lan0 from any to 192.168.97.40
pass in quick on lan0 from 192.168.97.105 to any
pass out quick on lan0 from any to 192.168.97.105
pass in quick on lan0 from 192.168.97.112 to any
pass out quick on lan0 from any to 192.168.97.112
pass in quick on lan0 from 192.168.97.131 to any
pass out quick on lan0 from any to 192.168.97.131
pass in quick on lan0 from 192.168.97.145 to any
pass out quick on lan0 from any to 192.168.97.145
pass in quick on lan0 from 192.168.97.207 to any
pass out quick on lan0 from any to 192.168.97.207
pass in quick on lan0 from 192.168.97.208 to any
pass out quick on lan0 from any to 192.168.97.208
pass in quick on lan0 from 192.168.97.209 to any
pass out quick on lan0 from any to 192.168.97.209
pass in quick on lan0 from 192.168.97.215 to any
pass out quick on lan0 from any to 192.168.97.215
pass in quick on lan0 from 192.168.97.218 to any
pass out quick on lan0 from any to 192.168.97.218
pass in quick on lan0 from 192.168.97.221 to any
pass out quick on lan0 from any to 192.168.97.221
pass in quick on lan0 from 192.168.97.222 to any
pass out quick on lan0 from any to 192.168.97.222
pass in quick on lan0 from 192.168.87.224 to any
pass out quick on lan0 from any to 192.168.87.224
pass in quick on lan0 from 192.168.97.223 to any
pass out quick on lan0 from any to 192.168.97.223
pass in quick on lan0 from 192.168.97.224 to any
pass out quick on lan0 from any to 192.168.97.224
pass in quick on lan0 from 192.168.97.225 to any
pass out quick on lan0 from any to 192.168.97.225
pass in quick on lan0 from 192.168.97.243 to any
pass out quick on lan0 from any to 192.168.97.243
pass in quick on lan0 from 192.168.97.244 to any
pass out quick on lan0 from any to 192.168.97.244
pass in quick on lan0 from 192.168.97.250 to any
pass out quick on lan0 from any to 192.168.97.250
pass in quick on lan0 from 192.168.49.200 to any
pass out quick on lan0 from any to 192.168.49.200
pass in quick on lan0 from 213.135.112.170 to any
pass out quick on lan0 from any to 213.135.112.170
pass in quick on lan0 from 192.168.47.215 to any
pass out quick on lan0 from any to 192.168.47.215
pass in quick on lan0 from 192.168.97.247 to any
pass out quick on lan0 from any to 192.168.97.247
iss in quick on lan0 from 192.168.97.248 to any
pass out quick on lan0 from any to 192.168.97.248

Also I have this output

ifconfig lan0
lan0: flags=843
inet 192.168.97.250 netmask ffffff00 broadcast 192.168.97.255

Then I stop IPFilter all fine