Help: How to configure VM so that it is local connection only

genes89

New Member
Aug 8, 2019
5
0
1
36
Hi,

I have Metasploitable VM and Kali VM installed on my server. I wanted to setup Metasploitable to local connection only. Do I need to set a firewall rule for Metasploitable VM? Or is there a way to configure it as a local connection only.

Thanks
 
guess the simplest way would be to create a new vmbr interface, without any physical ports attached, and hook the metasploitable/kali only to that bridge
(if you have ip_forwarding configured (nat-setup, routed-setup, other reason) you need to configure some firewall rules)

as an alternative configuring the firewall would also work.

Test your changes afterwards - then you know that it works correctly

hope this helps!