qvm-firewall.rst 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. .. program:: qvm-firewall
  2. =======================================================
  3. :program:`qvm-firewall` -- Qubes firewall configuration
  4. =======================================================
  5. Synopsis
  6. ========
  7. :command:`qvm-firewall` [-n] <*vm-name*> [*action*] [*rule spec*]
  8. Rule specification can be one of:
  9. 1. *address*\ |\ *hostname*\ [/*netmask*] tcp|udp *port*\ [-*port*]
  10. 2. *address*\ |\ *hostname*\ [/*netmask*] tcp|udp *service_name*
  11. 3. *address*\ |\ *hostname*\ [/*netmask*] any
  12. Options
  13. =======
  14. .. option:: --help, -h
  15. Show this help message and exit
  16. .. option:: --list, -l
  17. List firewall settings (default action)
  18. .. option:: --add, -a
  19. Add rule
  20. .. option:: --del, -d
  21. Remove rule (given by number or by rule spec)
  22. .. option:: --policy=SET_POLICY, -P SET_POLICY
  23. Set firewall policy (allow/deny)
  24. .. option:: --icmp=SET_ICMP, -i SET_ICMP
  25. Set ICMP access (allow/deny)
  26. .. option:: --dns=SET_DNS, -D SET_DNS
  27. Set DNS access (allow/deny)
  28. .. option:: --yum-proxy=SET_YUM_PROXY, -Y SET_YUM_PROXY
  29. Set access to Qubes yum proxy (allow/deny).
  30. .. note::
  31. if set to "deny", access will be rejected even if policy set to "allow"
  32. .. option:: --numeric, -n
  33. Display port numbers instead of services (makes sense only with :option:`--list`)
  34. Authors
  35. =======
  36. | Joanna Rutkowska <joanna at invisiblethingslab dot com>
  37. | Rafal Wojtczuk <rafal at invisiblethingslab dot com>
  38. | Marek Marczykowski <marmarek at invisiblethingslab dot com>