From f125bae4b9590ec226d1dca0c9aa19638d6fa8a0 Mon Sep 17 00:00:00 2001 From: ALIANE Abdelouahab Date: Fri, 19 Feb 2021 00:03:39 +0100 Subject: [PATCH] add ufw bridged connection issue solution When using bridge connection, ufw blocks the traffic, here is the workaround --- source/installguide/hypervisor/kvm.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/installguide/hypervisor/kvm.rst b/source/installguide/hypervisor/kvm.rst index 1a9b501917..aefddad265 100644 --- a/source/installguide/hypervisor/kvm.rst +++ b/source/installguide/hypervisor/kvm.rst @@ -1088,6 +1088,16 @@ To open the required ports, execute the following commands: .. note:: By default UFW is not enabled on Ubuntu. Executing these commands with the firewall disabled does not enable the firewall. + + 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/ufw/before.rules + +.. parsed-literal:: + -A FORWARD -d 192.168.42.11 -j ACCEPT + -A FORWARD -s 192.168.42.11 -j ACCEPT Additional Packages Required for Features