]> git.proxmox.com Git - pve-docs.git/blame - pve-firewall.8-synopsis.adoc
Makefile: add GFDL.adoc to dependencies
[pve-docs.git] / pve-firewall.8-synopsis.adoc
CommitLineData
1f554f76
DM
1*pve-firewall* `<COMMAND> [ARGS] [OPTIONS]`
2
3*pve-firewall compile*
4
5Compile and print firewall rules. This is useful for testing.
6
7
8
9
10*pve-firewall help* `[<cmd>]` `[OPTIONS]`
11
12Get help about specified command.
13
14`<cmd>` `string` ::
15
16Command name
17
18`-verbose` `boolean` ::
19
20Verbose output format.
21
22
23
24
25*pve-firewall localnet*
26
27Print information about local network.
28
29
30
31*pve-firewall restart*
32
33Restart the Proxmox VE firewall service.
34
35
36
37*pve-firewall simulate* `[OPTIONS]`
38
39Simulate firewall rules. This does not simulate kernel 'routing' table.
40Instead, this simply assumes that routing from source zone to destination
41zone is possible.
42
43`-dest` `string` ::
44
45Destination IP address.
46
47`-dport` `integer` ::
48
49Destination port.
50
51`-from` `(host|outside|vm\d+|ct\d+|vmbr\d+/\S+)` (default=`outside`)::
52
53Source zone.
54
55`-protocol` `(tcp|udp)` (default=`tcp`)::
56
57Protocol.
58
59`-source` `string` ::
60
61Source IP address.
62
63`-sport` `integer` ::
64
65Source port.
66
67`-to` `(host|outside|vm\d+|ct\d+|vmbr\d+/\S+)` (default=`host`)::
68
69Destination zone.
70
71`-verbose` `boolean` (default=`0`)::
72
73Verbose output.
74
75
76
77*pve-firewall start* `[OPTIONS]`
78
79Start the Proxmox VE firewall service.
80
81`-debug` `boolean` (default=`0`)::
82
83Debug mode - stay in foreground
84
85
86
87*pve-firewall status*
88
89Get firewall status.
90
91
92
93*pve-firewall stop*
94
95Stop firewall. This removes all Proxmox VE related iptable rules. The host
96is unprotected afterwards.
97
98
99
100