apt-get install firewalld
systemctl start firewalld
systemctl enable firewalld
firewall-cmd --permanent --new-zone=hostonly
firewall-cmd --permanent --add-port=0-65535/tcp --zone=hostonly
firewall-cmd --permanent --add-port=0-65535/udp --zone=hostonly
firewall-cmd --permanent --zone=hostonly --change-interface=<interface_name>
Last active
November 2, 2017 20:50
-
-
Save HayatoDoi/6dec9f66bfb1441a9390a789f35c3f13 to your computer and use it in GitHub Desktop.
firewalld_memo_for_virtualbox.md
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment