In order to lock down my server, i installed ubuntu with ufw. I run a VM inside the server that hosts a ssh server.
I opened the server and ran UFW and set Deny to send and Deny to Recieve. Now it looks like the server is blocked from inbound and outbound, which is good... BUT, when I tried to use my other laptop to ssh into the Server's VM, IT STILL GOT IN. Why is that?
Server: Ubuntu 1204 ufw ON, DENY DENY enabled Virtualbox, with VM(Xubuntu 1204, installed sshd)
My laptop: Ubuntu 1204
Can you help me fix this problem so that ufw BLOCKS the Virtualbox Ubuntu VM also?
Thanks for your help.