weizhouapache commented on code in PR #510:
URL: 
https://github.com/apache/cloudstack-documentation/pull/510#discussion_r2123558202


##########
source/installguide/hypervisor/kvm.rst:
##########
@@ -1541,18 +1541,17 @@ To open the required ports, execute the following 
commands:
    $ ufw allow proto tcp from any to any port 49152:49216
 
 .. note::
-   By default UFW is not enabled on Ubuntu. Executing these commands with the
-   firewall disabled does not enable the firewall.
+   Since Ubuntu 22.04 LTS, the UFW's default policy for forwarding is set to 
"DROP".
+   Change it to "ACCEPT".
 
-   If you have an issue with ufw while using a bridged connection,
-   add those two lines at the end of the /etc/ufw/before.rules just before 
COMMIT
+.. parsed-literal::
+   sudo vi /etc/default/ufw
 
 .. parsed-literal::
-   sudo vi /etc/ufw/before.rules
+   DEFAULT_FORWARD_POLICY="ACCEPT"
 
 .. parsed-literal::
-   -A FORWARD -d 192.168.42.11 -j ACCEPT
-   -A FORWARD -s 192.168.42.11 -j ACCEPT
+   sudo ufw enable

Review Comment:
   It should be mentioned that ufw is inactive by default, this step is 
optional .
   
   
   
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to