v4-firewall.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <firewall version="2">
  2. <rules>
  3. <rule>
  4. <properties>
  5. <property name="action">accept</property>
  6. <property name="specialtarget">dns</property>
  7. </properties>
  8. </rule>
  9. <rule>
  10. <properties>
  11. <property name="action">accept</property>
  12. <property name="proto">icmp</property>
  13. </properties>
  14. </rule>
  15. <rule>
  16. <properties>
  17. <property name="action">accept</property>
  18. <property name="proto">tcp</property>
  19. <property name="dstports">22</property>
  20. </properties>
  21. </rule>
  22. <rule>
  23. <properties>
  24. <property name="action">accept</property>
  25. <property name="dsthost">www.qubes-os.org</property>
  26. <property name="proto">tcp</property>
  27. <property name="dstports">443</property>
  28. </properties>
  29. </rule>
  30. <rule>
  31. <properties>
  32. <property name="action">accept</property>
  33. <property name="dsthost">192.168.0.0/24</property>
  34. <property name="proto">tcp</property>
  35. </properties>
  36. </rule>
  37. <rule>
  38. <properties>
  39. <property name="action">drop</property>
  40. </properties>
  41. </rule>
  42. </rules>
  43. </firewall>