2016-01-05 13:14:03 +03:00
*pve-firewall* `<COMMAND> [ARGS] [OPTIONS]`
*pve-firewall compile*
Compile and print firewall rules. This is useful for testing.
2018-02-12 11:50:48 +03:00
*pve-firewall help* `[OPTIONS]`
2016-01-05 13:14:03 +03:00
Get help about specified command.
2018-02-12 11:50:48 +03:00
`--extra-args` `<array>` ::
2016-01-05 13:14:03 +03:00
2018-02-12 11:50:48 +03:00
Shows help for a specific command
2016-01-05 13:14:03 +03:00
2017-10-19 10:30:23 +03:00
`--verbose` `<boolean>` ::
2016-01-05 13:14:03 +03:00
Verbose output format.
*pve-firewall localnet*
Print information about local network.
*pve-firewall restart*
Restart the Proxmox VE firewall service.
*pve-firewall simulate* `[OPTIONS]`
2022-09-12 18:25:00 +03:00
Simulate firewall rules. This does not simulates the kernel 'routing'
table, but simply assumes that routing from source zone to destination zone
is possible.
2016-01-05 13:14:03 +03:00
2017-10-19 10:30:23 +03:00
`--dest` `<string>` ::
2016-01-05 13:14:03 +03:00
Destination IP address.
2017-10-19 10:30:23 +03:00
`--dport` `<integer>` ::
2016-01-05 13:14:03 +03:00
Destination port.
2024-04-23 22:45:14 +03:00
`--from` `(host|outside|vm\d+|ct\d+|([a-zA-Z][a-zA-Z0-9]{0,9})/(\S+))` ('default =' `outside`)::
2016-01-05 13:14:03 +03:00
Source zone.
2017-10-19 10:30:23 +03:00
`--protocol` `(tcp|udp)` ('default =' `tcp`)::
2016-01-05 13:14:03 +03:00
Protocol.
2017-10-19 10:30:23 +03:00
`--source` `<string>` ::
2016-01-05 13:14:03 +03:00
Source IP address.
2017-10-19 10:30:23 +03:00
`--sport` `<integer>` ::
2016-01-05 13:14:03 +03:00
Source port.
2024-04-23 22:45:14 +03:00
`--to` `(host|outside|vm\d+|ct\d+|([a-zA-Z][a-zA-Z0-9]{0,9})/(\S+))` ('default =' `host`)::
2016-01-05 13:14:03 +03:00
Destination zone.
2017-10-19 10:30:23 +03:00
`--verbose` `<boolean>` ('default =' `0`)::
2016-01-05 13:14:03 +03:00
Verbose output.
*pve-firewall start* `[OPTIONS]`
Start the Proxmox VE firewall service.
2017-10-19 10:30:23 +03:00
`--debug` `<boolean>` ('default =' `0`)::
2016-01-05 13:14:03 +03:00
Debug mode - stay in foreground
*pve-firewall status*
Get firewall status.
*pve-firewall stop*
2022-09-12 18:25:00 +03:00
Stop the Proxmox VE firewall service. Note, stopping actively removes all
Proxmox VE related iptable rules rendering the host potentially
unprotected.
2016-01-05 13:14:03 +03:00