]> git.proxmox.com Git - pve-docs.git/blame - pve-firewall-rules-opts.adoc
Fix typos in pvecm.adoc
[pve-docs.git] / pve-firewall-rules-opts.adoc
CommitLineData
2489d6df 1`--dest` `<string>` ::
696fb448 2
de0983cb 3Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.
696fb448 4
2489d6df 5`--dport` `<string>` ::
696fb448 6
de0983cb 7Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\d+:\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.
696fb448 8
2489d6df 9`--iface` `<string>` ::
696fb448 10
de0983cb 11Network interface name. You have to use network configuration key names for VMs and containers ('net\d+'). Host related rules can use arbitrary strings.
696fb448 12
95895385
TL
13`--log` `<alert | crit | debug | emerg | err | info | nolog | notice | warning>` ::
14
15Log level for firewall rule.
16
2489d6df 17`--proto` `<string>` ::
696fb448 18
de0983cb 19IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.
696fb448 20
2489d6df 21`--source` `<string>` ::
696fb448 22
de0983cb 23Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.
696fb448 24
2489d6df 25`--sport` `<string>` ::
696fb448 26
de0983cb 27Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\d+:\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.
696fb448 28