ipset-test.xml 892 字节
Newer Older
S
Stefan Berger 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<filter name='testcase' chain='root'>
  <uuid>5c6d49af-b071-6127-b4ec-6f8ed4b55335</uuid>
  <rule action='accept' direction='out'>
     <all  ipset='test' ipsetflags='src,dst' />
  </rule>
  <rule action='accept' direction='in'>
     <all  state='NONE' ipset='test' ipsetflags='src,dst' comment='in+NONE'/>
  </rule>
  <rule action='accept' direction='out'>
     <all  state='NONE' ipset='test' ipsetflags='src,dst' comment='out+NONE'/>
  </rule>
  <rule action='accept' direction='in'>
     <all  ipset='test' ipsetflags='SRC,DST,SRC' />
  </rule>
  <rule action='accept' direction='in'>
     <all  ipset='test:_.-+' ipsetflags='SRC,dSt,SRC' />
  </rule>
  <rule action='accept' direction='in'>
     <all  ipset='$IPSETNAME' ipsetflags='src,dst' />
  </rule>
  <rule action='accept' direction='inout'>
     <all  ipset='$IPSETNAME' ipsetflags='src,dst' comment='inout'/>
  </rule>
</filter>