Skip to content

Commit 6c3f740

Browse files
authored
Update kvm.rst
1 parent 44233b1 commit 6c3f740

File tree

1 file changed

+6
-6
lines changed
  • source/installguide/hypervisor

1 file changed

+6
-6
lines changed

source/installguide/hypervisor/kvm.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,17 +1541,17 @@ To open the required ports, execute the following commands:
15411541
$ ufw allow proto tcp from any to any port 49152:49216
15421542
15431543
.. note::
1544-
By default UFW is not enabled on Ubuntu. Executing these commands with the
1545-
firewall disabled does not enable the firewall.
1544+
Since Ubuntu 22.04 LTS, the UFW's default policy for forwarding is set to "DROP".
1545+
Change it to "ACCEPT".
15461546

1547-
If you have an issue with ufw while using a bridged connection,
1548-
add those two lines at the end of the /etc/ufw/before.rules just before COMMIT
1547+
.. parsed-literal::
1548+
sudo vi /etc/default/ufw
15491549
15501550
.. parsed-literal::
1551-
sudo vi /etc/ufw/before.rules
1551+
DEFAULT_FORWARD_POLICY="ACCEPT"
15521552
15531553
.. parsed-literal::
1554-
-A FORWARD -j ACCEPT
1554+
sudo ufw enable
15551555
15561556
15571557
Additional Packages Required for Features

0 commit comments

Comments
 (0)