X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=pve-firewall.adoc;h=bc9df0e6ca736eec01d9992648c99fb8ff9b069f;hp=75e3624f020670f6ec937c931a3a1effb7d2394c;hb=a75eeddebed864bde81358463958ed1d166935e1;hpb=404a158e1b79f205df7f5cf1827dde32ef9a8ea2 diff --git a/pve-firewall.adoc b/pve-firewall.adoc index 75e3624..bc9df0e 100644 --- a/pve-firewall.adoc +++ b/pve-firewall.adoc @@ -1,7 +1,7 @@ +[[chapter_pve_firewall]] ifdef::manvolnum[] -PVE(8) -====== -include::attributes.txt[] +pve-firewall(8) +=============== :pve-toplevel: NAME @@ -19,15 +19,12 @@ include::pve-firewall.8-synopsis.adoc[] DESCRIPTION ----------- endif::manvolnum[] - ifndef::manvolnum[] {pve} Firewall ============== -include::attributes.txt[] +:pve-toplevel: endif::manvolnum[] - ifdef::wiki[] -:pve-toplevel: :title: Firewall endif::wiki[] @@ -83,6 +80,7 @@ comments. Sections starts with a header line containing the section name enclosed in `[` and `]`. +[[pve_firewall_cluster_wide_setup]] Cluster Wide Setup ~~~~~~~~~~~~~~~~~~ @@ -145,6 +143,7 @@ To simplify that task, you can instead create an IPSet called firewall rules to access the GUI from remote. +[[pve_firewall_host_specific_configuration]] Host Specific Configuration ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -166,7 +165,7 @@ include::pve-firewall-host-opts.adoc[] This sections contains host specific firewall rules. - +[[pve_firewall_vm_container_configuration]] VM/Container Configuration ~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -202,10 +201,6 @@ Each virtual network device has its own firewall enable flag. So you can selectively enable the firewall for each interface. This is required in addition to the general firewall `enable` option. -The firewall requires a special network device setup, so you need to -restart the VM/container after enabling the firewall on a network -interface. - Firewall Rules -------------- @@ -248,6 +243,7 @@ OUT ACCEPT # accept all outgoing packages ---- +[[pve_firewall_security_groups]] Security Groups --------------- @@ -272,7 +268,7 @@ Then, you can add this group to a VM's firewall GROUP webserver ---- - +[[pve_firewall_ip_aliases]] IP Aliases ---------- @@ -310,7 +306,7 @@ explicitly assign the local IP address local_network 1.2.3.4 # use the single ip address ---- - +[[pve_firewall_ip_sets]] IP Sets ------- @@ -358,7 +354,7 @@ Traffic from these IPs is dropped by every host's and VM's firewall. ---- -[[ipfilter-section]] +[[pve_firewall_ipfilter_section]] Standard IP set `ipfilter-net*` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -487,7 +483,7 @@ As for the link local addresses required for NDP, there's also an ``IP Filter'' (`ipfilter: 1`) option which can be enabled which has the same effect as adding an `ipfilter-net*` ipset for each of the VM's network interfaces containing the corresponding link local addresses. (See the -<> section for details.) +<> section for details.) Ports used by {pve}