core-admin/doc/qvm-tools/qvm-firewall.rst

63 lines
1.4 KiB
ReStructuredText
Raw Normal View History

2014-11-21 12:30:23 +01:00
.. program:: qvm-firewall
2013-03-12 16:55:05 +01:00
2014-11-21 12:30:23 +01:00
=======================================================
:program:`qvm-firewall` -- Qubes firewall configuration
=======================================================
2013-03-12 16:55:05 +01:00
2014-11-21 12:30:23 +01:00
Synopsis
2013-03-12 16:55:05 +01:00
========
| qvm-firewall [-n] <vm-name> [action] [rule spec]
Rule specification can be one of:
1. address|hostname[/netmask] tcp|udp port[-port]
2. address|hostname[/netmask] tcp|udp service_name
3. address|hostname[/netmask] any
2014-11-21 12:30:23 +01:00
Options
2013-03-12 16:55:05 +01:00
=======
2014-11-21 12:30:23 +01:00
.. option:: --help, -h
2013-03-12 16:55:05 +01:00
Show this help message and exit
2014-11-21 12:30:23 +01:00
.. option:: --list, -l
2013-03-12 16:55:05 +01:00
List firewall settings (default action)
2014-11-21 12:30:23 +01:00
.. option:: --add, -a
2013-03-12 16:55:05 +01:00
Add rule
2014-11-21 12:30:23 +01:00
.. option:: --del, -d
2013-03-12 16:55:05 +01:00
Remove rule (given by number or by rule spec)
2014-11-21 12:30:23 +01:00
.. option:: --policy=SET_POLICY, -P SET_POLICY
2013-03-12 16:55:05 +01:00
Set firewall policy (allow/deny)
2014-11-21 12:30:23 +01:00
.. option:: --icmp=SET_ICMP, -i SET_ICMP
2013-03-12 16:55:05 +01:00
Set ICMP access (allow/deny)
2014-11-21 12:30:23 +01:00
.. option:: --dns=SET_DNS, -D SET_DNS
2013-03-12 16:55:05 +01:00
Set DNS access (allow/deny)
2014-11-21 12:30:23 +01:00
.. option:: --yum-proxy=SET_YUM_PROXY, -Y SET_YUM_PROXY
2013-03-12 16:55:05 +01:00
Set access to Qubes yum proxy (allow/deny).
2014-11-21 12:30:23 +01:00
.. note::
if set to "deny", access will be rejected even if policy set to "allow"
.. option:: --numeric, -n
Display port numbers instead of services (makes sense only with :option:`--list`)
Authors
2013-03-12 16:55:05 +01:00
=======
| Joanna Rutkowska <joanna at invisiblethingslab dot com>
| Rafal Wojtczuk <rafal at invisiblethingslab dot com>
| Marek Marczykowski <marmarek at invisiblethingslab dot com>